% This file is embedded in datatool-user.pdf version 3.4.4 2026-07-31
% 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}
