I want to check the ordering of numbers in an if statement, for example, in pseudo-code:
Is there an easy way to do this? Obviously doing all the boolean comparisons is not possible. Maybe sorting the numbers and then doing the respective comparisons is the best way?Code:if a < b < c < ... < z
then do something magical
else quit