Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
12345678910111213's user avatar