KeySort
Examples
open all close allBasic Examples (2)
Scope (1)
Construct an association with Spanish words as keys:
assoc = <|"año" -> 1, "anulado" -> 2, "amigo" -> 3|>Sorting the keys with Spanish alphabetic order is different from sorting with the default English ordering:
KeySort[assoc, AlphabeticOrder["Spanish"]]KeySort[assoc]Related Guides
Text
Wolfram Research (2014), KeySort, Wolfram Language function, https://reference.wolfram.com/language/ref/KeySort.html (updated 2019).
CMS
Wolfram Language. 2014. "KeySort." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/KeySort.html.
APA
Wolfram Language. (2014). KeySort. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KeySort.html
BibTeX
@misc{reference.wolfram_2026_keysort, author="Wolfram Research", title="{KeySort}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/KeySort.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_keysort, organization={Wolfram Research}, title={KeySort}, year={2019}, url={https://reference.wolfram.com/language/ref/KeySort.html}, note=[Accessed: 15-June-2026]}