# Sort lines alphabetically

> Sort lines alphabetically or numerically.

[Open tool](https://www.toolcabana.com/cu/sort-lines) · [Text and writing](https://www.toolcabana.com/cu/category/text-and-writing)

Tool ID: sort-lines. Requested language: cu. Description language: en. Complete guide translation: no; untranslated sections use English.

## Supported tasks (en)

Sort lines alphabetically or numerically.

## Steps (en)

1. Type or paste your source, or load an example.
2. Change the basic settings or open Advanced mode to fine-tune the result.
3. Review and copy or download your result. Pause Live results to run manually. Sources or individual settings above 20,000 characters require an explicit run.

## Settings

- Numeric sorting (en; key: numeric; type: checkbox)
- Descending order (en; key: descending; type: checkbox)
- Match case (en; key: caseSensitive; type: checkbox)
- Natural ordering (item2 before item10) (en; key: natural; type: checkbox)
- Skip empty lines (en; key: ignoreEmpty; type: checkbox)
- Trim line edges before sorting (en; key: trim; type: checkbox)

## Limitations (en)

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Example input

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

## Privacy and connections (en)

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

## Questions (en)

### What does sort lines alphabetically do?

Sort lines alphabetically or numerically.

### Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

### What are the input limits?

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Related tools

- [Remove duplicate lines](https://www.toolcabana.com/cu/deduplicate-lines)
- [Remove extra spaces](https://www.toolcabana.com/cu/remove-spaces)
- [Find and replace text](https://www.toolcabana.com/cu/replace-text)
- [Remove line breaks](https://www.toolcabana.com/cu/remove-line-breaks)
