Renderingen-US

Experimental through version 1. Version 0 was alpha. This is the first language release: the interface is relatively stable, not frozen. Nothing is promised stable until version 2.

sort-text-en

Translation status: English reader-locale proof. Term names and code fences follow the en pack; supporting prose may still be English.

Syntax:

Category#

collection

None.

Examples#

radix/corpus/sort/list-text-en.fab (canonical · concept)#

# Text sorts by code point: uppercase before lowercase, accents after ASCII.
main {
    let list<string> names ← ["marcus", "Livia", "aulus", "Cornelia", "émilia"]
    print sort via asc from names
    print sort via desc from names
    print names
}

Expected output:

["Cornelia", "Livia", "aulus", "marcus", "émilia"]
["émilia", "marcus", "aulus", "Livia", "Cornelia"]
["marcus", "Livia", "aulus", "Cornelia", "émilia"]