Sorting modes
Alphabetical mode follows the page locale. Natural mode recognizes numbers inside lines, placing item 2 before item 10. Length mode counts Unicode code points.
Stable results
Values that compare equally keep their original relative order. Every mode supports ascending and descending direction.
Local processing
Lines are sorted with the browser’s standard Intl.Collator without sending their content.
Frequently asked questions
How does natural sorting differ from alphabetical order?
It compares numeric fragments as numbers, so 2 comes before 10 instead of after it.
Is sorting case-sensitive?
Alphabetical modes use the locale’s base sensitivity, so case does not determine the primary order.