SortStacks

SortStacks
void SortStacks ( void )

code contained in Inventory/script/INV_Funcs.dh

Description
This function is called by DisplayInventory if the "SORT" button is pressed. It creates a table of total amounts of index+modifier combinations, then replaces them in total stacks into the inventory using PlaceItemInClosestSlot.