Example 2. Sort the records by Customer and total amount purchased in numerical order. e.g. xtsort -k CustomerID,TotalAmount%n -i dat.xt -o rsl.xt Output file -rsl.xt
Example 3. Sort the records by Customer and total amount in numerical descending order. e.g. xtsort -k CustomerID,TotalAmount%nr -i dat.xt -o rsl.xt Output file -rsl.xt