fixup SpecialInventory handling on qsort