changed inventory sort