Reversed the sorting order of the pins