All Questions
1 question
4
votes
4
answers
14k
views
Checking whether a list is sorted, ascending or descending
What is the best way to conditionally use an operator? All 3 methods seemed acceptable to me, and the last 2 better.
If you're curious: I've got a list which is unsorted, and many other lists which ...