ToolCabana

Ordenar linhas alfabeticamente

Ordene as linhas alfabeticamente ou numericamente.

Favorites are saved in this browser. Find them in My favorites.

Ordenar linhas alfabeticamente

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

Como utilizar Ordenar linhas alfabeticamente

Sort Lines Alphabetically puts each line of your list in A to Z order, or Z to A with Descending order. Sorting is language-aware and ignores case by default. Advanced options add natural ordering so item2 comes before item10, plus trimming line edges and skipping empty lines, and a numeric mode sorts lists of plain numbers by value.

  1. Escreva ou cole o seu texto, ou carregue um exemplo.
  2. Altere as definições básicas ou abra o modo avançado para ajustar o resultado.
  3. Verifique e copie ou descarregue o resultado. Coloque os resultados em direto em pausa para executar manualmente. Textos ou definições individuais com mais de 20,000 caracteres exigem uma execução explícita.

O que esta ferramenta permite

Ordene as linhas alfabeticamente ou numericamente.

Ordenação numérica
Set this value for your task.
Ordem decrescente
Set this value for your task.
Distinguir maiúsculas de minúsculas
Set this value for your task.
Ordem natural (item2 antes de item10)
Set this value for your task.
Ignorar linhas vazias
Set this value for your task.
Remover espaços nas extremidades das linhas antes de ordenar
Set this value for your task.

Limites e processamento

As operações de texto geralmente aceitam até 2,000,000 caracteres. Cada analisador, gerador ou fórmula aplica limites adicionais apresentados nos respetivos controlos.

Exemplo de entrada
Hello world.
A second line.
Café, İstanbul, 日本語, and 👨‍👩‍👧‍👦.

Perguntas frequentes

How do I sort lines so item10 comes after item9?

Enable Natural ordering in Advanced mode. Digits inside each line are then compared by numeric value, so item2 sorts before item10 instead of after it. This works for lines that mix text and numbers.

Why does numeric sorting show an error?

Numeric sorting requires every line to be a number written with a dot as the decimal separator. A blank line, a unit or a comma triggers an error naming the line number; enable Skip empty lines or use natural ordering for mixed lines.

Does sorting treat uppercase and lowercase letters the same?

Yes, by default. Lines are compared by base letters, so case and accents do not affect the order. Turn on Match case to let case and accent differences count when two lines otherwise compare as equal.

Onde é processado o meu texto?

Esta operação processa o texto no seu navegador. Copiar e descarregar exigem uma ação explícita; o texto introduzido não é guardado numa conta nem no histórico.

Quais são os limites de entrada?

As operações de texto geralmente aceitam até 2,000,000 caracteres. Cada analisador, gerador ou fórmula aplica limites adicionais apresentados nos respetivos controlos.