Docomint

Trier les lignes (A–Z / Z–A)

Triez des lignes de texte par ordre alphabétique ou numérique, croissant ou décroissant.

🔒 Processed on your device

What is a Trier les lignes (A–Z / Z–A)?

Sorts a plain list of lines the way a spreadsheet's Sort A-Z column would — useful when you have a list of names, tags, or file paths in a text editor and don't want to open a spreadsheet just to reorder them.

How to use the Trier les lignes (A–Z / Z–A)

  1. Paste a list of lines
  2. Pick alphabetical or numeric order
  3. The sorted list appears instantly, on your device

Example

Sorting "banana, Apple, cherry" alphabetically ascending returns "Apple, banana, cherry" — capital letters sort before lowercase ones in standard order, so 'Apple' lands first.

Frequently asked questions

How is numeric sort different from alphabetical sort?

Alphabetical sort compares lines as text, so "10" sorts before "2". Numeric sort reads the leading number on each line and compares by value instead.

Is my text uploaded anywhere?

No — Trier les lignes (A–Z / Z–A) runs entirely in your browser using JavaScript/WebAssembly. Your text is never sent to a server.

Can I numerically sort lines that have text mixed in, like \"Item 9\" and \"Item 10\"?

Numeric sort compares the first number it finds on each line, so \"Item 9\" correctly sorts before \"Item 10\" — a plain alphabetical sort would put \"Item 10\" first since '1' comes before '9' character by character.

Related tools