to sort the rows in descending order