Outils de texte

Trier les lignes

Triez les lignes par texte, nombres ou longueur.

Trier les lignes

Propulsé par UtilBrix

Vos données restent dans votre navigateur. Aucun compte requis. Character counts use Unicode code points. Reading: 200 words/minute. Speaking: 130 words/minute.

Les méthodes détaillées et les exemples sont disponibles en anglais.

Step-by-step instructions (English)

  1. Paste one item per line.
  2. Choose alphabetical, numeric, length-based, or random order and set trimming or duplicate removal as needed.
  3. Run the sort and inspect the list before copying.

Formule et méthode

Alphabetic sorting uses locale comparison. Numeric sorting requires every line to be numeric; length sorting counts code points. Random order uses a Fisher–Yates shuffle. Trimming and duplicate removal run before sorting.

Exemple pratique

Numeric ascending sorts 2, 10, 1 as 1, 2, 10. Alphabetical sorting would place 10 before 2.

When this tool is useful

Order a simple list of labels, compare numeric values, or group lines by length for editing. Treat each line as a complete record; the tool does not parse a spreadsheet into separately sortable columns.

Common mistakes and limitations

  • Numeric mode requires every line to be a valid number; remove labels and empty lines first.
  • Alphabetic and numeric order differ: a text sort can place 10 before 2.

Practical questions about this tool (English)

How does numeric sorting treat commas?

Commas are removed before numeric conversion. This supports grouped values such as 1,000, but is unsuitable when a comma is intended as the decimal separator.

Is random order suitable for a security-sensitive draw?

No. The shuffle is intended for ordinary list rearrangement and does not provide an audited or cryptographically secure selection process.

Put this tool into practice

Autres outils utiles

Installer UtilBrix

Accédez à vos outils depuis l’écran d’accueil.

  1. Ouvrez le menu du navigateur (⋮).
  2. Choisissez «Installer l’application» ou «Ajouter à l’écran d’accueil».
  3. Confirmez l’ajout de UtilBrix à l’écran d’accueil.

Si cette option manque, ouvrez la page dans Chrome sur Android.

Rechercher un outil

↑ ↓ Navigate · Enter Open · Esc Close