List sorter

Sort lines A–Z, Z–A, numerically, by length, reversed or shuffled.

Result
Apple banana Item 1 Item 2 Item 10