Implemented sorting with descending