Latest news 2024-03-02: Ebook sale (3rd–9th March 2024): short story cybercrime fiction Unsocial Media free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99. For further details, see latest blog post.

Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 154🔗
Submitted by: Nicola Talbot 🦜
Date: 2020-03-15 18:59:36
Status Closed (Not a Bug)
Category datatool
Version 2.32
Summary \switchargs isn't taken into account when sorting

Sign in to subscribe to notifications about this report.


The datatool user manual provides an example that uses a custom command called \switchargs to alter the sorting. This no longer produces the desire order.


Download (566B)

% arara: pdflatex



\caption{Student Scores (sorting ignores \texttt{\textbackslash switchargs})}\centering
\bfseries Surname &
\bfseries First Name &
\bfseries Score (\%)%
\surname & \firstname & \score}



This change in behaviour was caused by the bug fix strange behavior of \dtlcompare. It's now necessary to use \dtlcompareskipcstrue for this example to work. The user manual will be corrected in the next version.



Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.


You can use the following markup:


[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]

Ordered list:
[li]first item[/li]
[li]second item[/li]

Unordered list:
[li]first item[/li]
[li]second item[/li]

You can use the Preview button to review your message formatting before submitting.

Page permalink: