title: If Groovy list is sorted in Ascending order, Sort it in Descending order and Vice Versa
body: <p>I have a groovy list of Order object. I want to sort this list on order id. If my list is sorted in ascending order then sort it in descending and Vice Versa. What is the smarted way to solve this problem?</p>