Smart Deals - promotions, discount codes and sales

Alphabetical Sorter

Sort words, names, numbers and text lines alphabetically, naturally or by length.

Secure (SSL)
Client-Side Processing
100% Free
Instructions
  • 1
    Enter data
    Enter content, paste text or load a file from disk.
  • 2
    Click the button
    The tool will immediately process your data in the browser.
  • 3
    Get the result
    Copy the finished text or save the file to your device.
function runTool() {
  return "Result ready in 0.1s";
}
40 characters

raw: apple Apple Banana blueberry Cherry

Rate this tool:

Related tools

Other tools you may find useful

Alphabet Sorter - Sort lists of words and sentences online

Alphabet Sorter sorts lists of text - words, names, addresses, sentences - alphabetically A-Z or Z-A, numerically, by length, or randomly. Supports Polish characters (ą, ę, ó, ć, ź, ż, ś, ń, ł) and advanced sorting options.

Types of text sorting

Alphabetical sorting A-Z – standard lexicographic sorting, the basis for lists and indexes. Sort Z-A – Reverse alphabetical. Numeric sort – "10" > "9" (not "10" < "9" as in lexicographic sort). Important for lists with numbers. Natural sort – "page 2" < "page 10" < "page 20" (like "natural sort" in Linux). Sort by length – from the shortest or longest entry. Random sort – shuffle the list. Dedupe – Simultaneous sorting and deduplication.

Sorting Polish characters

The Polish alphabet has a specific order of letters: a, ą, b, c, ć, d, e, ę, f, g, h, i, j, k, l, ł, m, n, ń, o, ó, p, q, r, s, ś, t, u, v, w, x, y, z, ź, f. Standard ASCII collation treats Polish characters as "other" - it does not sort them correctly in the Polish context. The sorter uses ICU Collation (Internationalization API) or its own letter mapping for sorting in accordance with the Polish standard PN-90/N-01228. Example: "frog" is sorted after "fun", not before the letter 'a'.

How to use the sorter?

Paste or type the list into the text box - each item on a new line or separated by commas/tabs. Select options: direction (A-Z or Z-A), sort type (alpha, numeric, natural, length), case sensitivity (whether "Ala" = "ala"), ignoring prefixes (e.g. "The", "A" for English titles), keeping duplicates or removing them. Click "Sort" and copy the result.

Applications of the alphabetical sorter

The sorter is useful for: organizing contact or mailing lists, organizing movie and book titles (library, film library), sorting keywords for SEO/Ads campaigns, organizing research results or data from a spreadsheet, preparing lists and indexes for documents, sorting tags, categories and metadata.

FAQ

How do I sort a list alphabetically in Excel or Google Sheets?

Excel: Select a column → Data → Sort → select "A to Z". Or the SORT formula (Excel 365): =SORT(A1: A10,1,1). Google Sheets: Data → Sort Range → A to Z. For Polish characters, make sure the sheet's locale is "Poland" - otherwise ą, ę etc. can be sorted by 'z'.

How to sort an array alphabetically in JavaScript?

const arr = ['turtle', 'tooth', 'ala', 'Atek']; arr.sort((a, b) => a.localeCompare(b, 'pl', {sensitivity: 'base'}));. localeCompare with locale 'pl' and sensitivity 'base' (ignores case and diacritics for basic comparison). For case-sensitive: sensitivity: 'case'. Note: the default arr.sort() does not sort Polish letters correctly!

How to sort a list of names ignoring "von", "de", "van"?

Sorting by surname while ignoring nobility particles: remove the particles (von, de, van, le, la, di) from the beginning before sorting. Example: "Ludwig van Beethoven" sort under 'B' (Beethoven). In the sorter, use the "ignore prefix" option and enter a list of prefixes to ignore. The result displays the full name, but is sorted by the root element.

How do I remove duplicates from a list before sorting?

In JavaScript:const unique = [...new Set(arr)].sort();- Set automatically removes duplicates. Alternatively:arr.filter((val, idx, self) => self.indexOf(val) === idx).sort(). Our sorter has a "Remove duplicates" option - you can choose case-sensitive or insensitive duplicates (or "Ala" = "ala").

How to sort a list of files number
Install Webp.pl Have the tools in your own pocket!