Sort Lines by Length

Quickly sort lines by length in ascending or descending order.