
Put lines of text in A-to-Z order, by length, or shuffled, with numbers sorted the natural way. In your browser
What it does
Paste a list of names, exhibits, case numbers or anything else, one item a line, and sort it A to Z, Z to A, shortest or longest first, or shuffle it. Numbers sort the way people expect (Item 2 before Item 10), and upper and lower case can be ignored. Select some lines to sort just those.
How it works

One item a line. Click the text box and paste, or open a .txt or .csv file.

A to Z, Z to A, by length, shuffled or reversed.

The list is sorted at once. Remove repeated lines next, if you need to.
Why Legalfina
Your text stays in your browser. It isn't sent to our server or anyone else's, and it isn't saved.
Every count updates as you type, and every change can be undone with Ctrl+Z (⌘+Z on a Mac).
No account, no limits, no ads in your way.
Clean it up, change its case, sort it and count it without copying it from page to page.
Questions
Yes. Numbers inside lines are sorted by value, so “Exhibit 2” comes before “Exhibit 10”.
Not by default. Switch off Ignore upper and lower case to sort them apart.
If the list is written “Last, First”, sorting A to Z sorts by last name. Find and replace can turn “First Last” into “Last, First” first.
They're kept and sorted with the rest, unless you switch on Remove empty lines.
No. Everything happens in your browser. Your text is never sent to Legalfina or anyone else, and it's gone when you close the page.
Legalfina prepares your court forms, checks them, and files them for you, with an attorney's review when you want one.
© 2021 - 2026 Legalfina Inc. All rights reserved.
LDA License #172 (Alameda County)
35111F Newark Blvd #314, Newark, CA