Sorting samples
Each example sorts the following lines in ascending order. The case-sensitive fallback is enabled for the case-insensitive examples.
Input:
value10
Red fox leaps under stone
banana
Value21
line with spaces
Apple
value2
A fox can leap over stone
Banana
long line with spaces
apple
value11
Value20
Red fox leaps under log
value1
VSCodium/VS Code built-in
A fox can leap over stone
apple
Apple
banana
Banana
line with spaces
long line with spaces
Red fox leaps under log
Red fox leaps under stone
value1
value10
value11
value2
Value20
Value21
Lexicographically
A fox can leap over stone
Apple
Banana
Red fox leaps under log
Red fox leaps under stone
Value20
Value21
apple
banana
line with spaces
long line with spaces
value1
value10
value11
value2
Lexicographically, Case Insensitive
A fox can leap over stone
Apple
apple
Banana
banana
line with spaces
long line with spaces
Red fox leaps under log
Red fox leaps under stone
value1
value10
value11
value2
Value20
Value21
Naturally
A fox can leap over stone
Apple
Banana
Red fox leaps under log
Red fox leaps under stone
Value20
Value21
apple
banana
line with spaces
long line with spaces
value1
value2
value10
value11
Naturally, Case Insensitive
A fox can leap over stone
Apple
apple
Banana
banana
line with spaces
long line with spaces
Red fox leaps under log
Red fox leaps under stone
value1
value2
value10
value11
Value20
Value21
Line Length (with default fallback)
Apple
apple
Banana
banana
value1
value2
value10
value11
Value20
Value21
line with spaces
long line with spaces
Red fox leaps under log
A fox can leap over stone
Red fox leaps under stone