Added ability to sort in desc order