Fixed bug: now items are sorted in decreasing order