Use (sort list) to create the list in ascending order and (reverse (sort list)) for a list in descending order.