% This file is embedded in datatool-user.pdf version 3.4.3 2025-12-04
% Example 8 Localisation Support (en-CA)
% Label: "ex:enCA"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[locales=en-CA]{datatool-base} 
\begin{document}
Default currency: \DTLCurrencyCode. 

\newcommand{\mylist}{elk,élite,elephant}
\DTLsortwordlist{\mylist}{\DTLsortletterhandler}
Sorted list: \DTLformatlist{\mylist}. 
\end{document}
