Add ability to sort by ascending or descending order