Sort Lines

Input Text

Ascending Descending



Output Text