Fixed incorrect item sorting.
Merge pull request #1 from JGefroh/fix/item-sorting-incorrect

FIX: Fixed incorrect item sorting.