EditSafely

Sort Graphemes

Quickly sort Unicode glyphs from A to Z or by code point.

Runs on your device, nothing uploaded

Order
Separator
Try:

0 chars · 0 lines

Output

Quickly sort Unicode glyphs from A to Z or by code point.

Type or paste above to see the result here.

Example: Sort

What you paste never leaves this tab

Sort Graphemes is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, the text you paste is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Sort Graphemes

  1. 1. Paste the text to sort. Enter the Unicode text whose characters you want reordered into the input pane. The tool splits on grapheme boundaries so emoji and combined letters are treated as single units.
  2. 2. Choose the Order and a Separator. Pick A to Z for a dictionary order where É sits next to e, Z to A for the reverse, or Code point to sort by raw value. Spaces and punctuation are left out unless you untick Ignore spaces and punctuation. Then pick a Separator such as None or Comma.
  3. 3. Copy the sorted result. The tool arranges every grapheme in the chosen order, with emoji after the letters, and joins them with your separator. Copy the sorted string once it reflects the order you asked for.

When to use Sort Graphemes

Sort Graphemes reorders the characters of your text alphabetically or by code point value, treating combined symbols as one unit. Use it whenever you need a deterministic character ordering rather than the original sequence of the text.

  • Checking if two strings are anagrams. You want to confirm two words contain exactly the same characters regardless of order. Sorting both from A to Z and comparing the results tells you instantly whether they match.
  • Building a canonical key for deduplication. A dataset has entries that are character permutations of each other and you need a stable key to group them. Sorting each entry's graphemes produces a consistent key for comparison.
  • Studying code point ordering across a script. You are curious how a set of characters from a mixed script ranks by raw code point value. Sorting by code point lays them out in that numeric order for inspection.
  • Generating a puzzle where letters must be rearranged. A word puzzle wants to present scrambled letters in a fixed, sorted order as a starting hint rather than a random shuffle. Sorting from A to Z gives that consistent baseline arrangement.

Examples

Sort

Input

cba

Output

abc

Sort letters A to Z

Input

banana Éclair zebra

Output

aaaaabbceÉilnnrrz

About the Sort Graphemes tool

Sort Graphemes does its work locally, right in the browser. Quickly sort Unicode glyphs from A to Z or by code point. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Unicode Tools collection on EditSafely, a set of 98 small, focused Unicode utilities that share the same instant, private workspace.

You can shape the output with 3 settings, including Order, Ignore spaces and punctuation and Separator, and the result refreshes the moment you change one. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Sort Graphemes cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.