A bit of consistency.
Remember the SlotCreativeInventory class instead of re-searching it every time.

Profiling sort shows a vast majority of time spent sorting is in ReflectionHelper.getClass() from ObfuscationHelper.getSlotNumber().