Bugs: dmsort
There are currently no known bugs.
Bugs fixed in CIAO 4.14
The following is a list of bugs that were fixed in the CIAO 4.14 software release.
Sorting on multiple columns stops after first string column.
When sorting on string columns, any remaining sort columns (keys) may not sorted correctly. For example:
% dmlist data.dat cols,data -------------------------------------------------------------------------------- Columns for Table Block blek2.dat -------------------------------------------------------------------------------- ColNo Name Unit Type Range 1 critter String[3] 2 size String[5] 3 age Real8 -Inf:+Inf 4 name String[7] -------------------------------------------------------------------------------- Data for Table Block data.dat -------------------------------------------------------------------------------- ROW critter size age name 1 cat small 1.0 eyelid 2 cat small 2.0 eyelash 3 cat big 3.0 eyebrow % dmsort data.dat out.dat key=critter,-age clob+ % dmlist out.dat data,clean # critter size age name cat small 2.0 eyelash cat small 1.0 eyelid cat big 3.0 eyebrow
We can see in this example that the secondary sort on age is incorrect; the first row should be with age=3.0.