Fix sortEnchantments() so it works in all situations. Fixed issue with
Enchanter A buff creating inventory desyncs.