cd .. (all tools)

Lines

Sort, dedupe, trim and number lines.

// Runs in your browser. Nothing you type here is sent anywhere.

Clean up
Order

Result

apple
Banana
cherry
item 2
item 10
pear

9 lines in, 6 out.