Fix the ordering of the grid fields of inventory