I have found a snippet with 2 columns, "date and time" bellow:
if(a.loggerdate == b.loggerdate)
return(a.loggertime > b.loggertime)?1:-1;
return(a.loggerdate > b.loggerdate)?1:-1;
Sorry but I was not able to derive the code to support more than 2 columns inside columns. Can someone point to avaialble snippet please?