PG sort by ascending fix for item index view