SortInventory

SortInventory
void SortInventory( int SortType )

Function is located within Inventory/script/INV_Funcs.dh

Parameters:

 * SortType - Flag SORT_INVENTORY or SORT_BOTH

Description:
Called by DisplayInventory

Uses qsort to sort the inventory array/s.
 * SORT_INVENTORY will sort only the player inventory window.
 * SORT_BOTH will sort the player inventory, then move the items in the crafting inventory into the player inventory.