Use sort to order a collection with compare by default, or supply a comparator. Use sort-by to compare items through a single-argument key function, such as an :age field. section 8.3.5
Check the input and result:
- Inputs must be seq-compatible; items must be mutually comparable. Incompatible items can cause ClassCastException, and unsupported inputs such as transients or scalars can cause IllegalArgumentException. section 8.3.5
- The result is an ordered sequence; nil or empty input produces an empty list. Sorting a native array mutates that input. section 8.3.5

















