Urutkan Baris|Opsi
Masukan
e.g. banana apple cherry date
Keluaran
e.g. apple banana cherry date
Karakter: 0
Kata: 0
Kalimat: 0
Paragraf: 0
Baca: < 1m
Bicara: < 1m
Total baris: 0
Tidak kosong: 0

Sort Lines Online — Alphabetical, Reverse, Numerical & Random Shuffle

Need to sort a list alphabetically, reverse the order, arrange numbers, or randomize lines? This free tool sorts text lines in any order with options for case sensitivity and duplicate removal.

Cara Menggunakan Alat Ini

  1. Paste your textEnter or paste the text with lines you want to sort into the input panel.
  2. Choose sort orderSelect the sort mode: alphabetical (A-Z), reverse alphabetical (Z-A), numerical, or random shuffle.
  3. Set optionsToggle case-sensitive sorting and optional duplicate line removal.
  4. Copy the resultClick Copy to grab the sorted text.
  5. Chain with other toolsWith Auto-fill enabled, your output automatically carries over when you open another tool from the sidebar. Use the back and forward arrows to undo navigation and restore your previous tool state including all options.

Fitur

Alphabetical Sort

Sorts lines from A to Z using standard lexicographic order. Perfect for organizing lists, names, and terms.

Reverse Sort

Sorts lines from Z to A, reversing the alphabetical order.

Numerical Sort

Sorts lines by their numeric value rather than alphabetically, so "10" comes after "9" instead of after "1".

Random Shuffle

Randomly reorders lines for creating randomized lists, quizzes, or lottery-style selections.

Case Sensitivity

Choose between case-sensitive sorting (uppercase letters sort separately from lowercase) and case-insensitive sorting.

Complete Privacy

All sorting happens in your browser. No text is sent to any server.

Auto-fill Pipeline

Enable Auto-fill to carry your output to the next tool. Navigate back and forward with full state restoration — input, output, and all settings are preserved.

Kasus Penggunaan Nyata

1

Alphabetize employee names for a printed roster

Paste a list of names and sort them A-Z to create an organized directory or attendance sheet ready for printing.

2

Sort version numbers numerically

Version strings like v1.2, v1.10, v2.0 sort incorrectly alphabetically. Use numerical sort to order them by the actual version number.

Pertanyaan yang Sering Diajukan

How does alphabetical sorting work?
Lines are compared character by character from left to right using Unicode code point values. Uppercase letters come before lowercase in case-sensitive mode. In case-insensitive mode, "Apple" and "apple" are treated as equivalent.
What is the difference between case-sensitive and case-insensitive sorting?
In case-sensitive sorting, uppercase letters (A-Z) sort before lowercase letters (a-z), so "Banana" comes before "apple". In case-insensitive sorting, case is ignored, so "apple" comes before "Banana".
Does numerical sort handle decimal numbers?
Yes. Numerical sort correctly orders integers and decimal numbers. Lines that do not start with a number are typically sorted before or after the numbered lines depending on the implementation.
Can I remove duplicates while sorting?
Yes. Enable the remove duplicates option to eliminate repeated lines during the sort process, giving you a sorted list of unique entries.
Does it preserve blank lines?
Blank lines are included in the sort. They will typically sort to the top of the list. To remove them, use the Remove Empty Lines tool first.
Is my text private?
Yes. All sorting runs locally in your browser. Nothing leaves your device.

Alat Terkait

Semua pemrosesan teks terjadi langsung di browser Anda. Teks Anda tidak pernah dikirim ke server mana pun, disimpan, atau dibagikan kepada pihak ketiga. Alat ini sepenuhnya pribadi dan aman.