Hi Richgalloway, thanks for the reply, the atachment in the main question shows the erroneous results, with the tasks sorted alphabetically instead of matched with the timestamp, so for example for id number 1 there are 6 tasks and 6 time stamps, the stats command (placing both columns inside stats) gives: sysmodtime, task_name, idnumber 05/04/20 12:00 PM, five, 4 05/03/20 12:00 PM, four, 05/03/20 12:01 PM, one, 05/03/20 12:02 PM, six. 05/03/20 12:40 PM, three, 05/03/20 12:50 PM, two, whereas the order should be simply; one, two, three, four, five, six Solutions that make a new field using sysmodtime and task_name fail since number of tasks and number of sysmodtime are not equal in all cases.
... View more