Sort Lines

Sort text lines alphabetically, by length, numerically, or randomly

Input (7 lines)

Sorted (7 lines)

1apple
2Banana
3cherry
4Date
5elderberry
6Fig
7grape