more bullet-proof sorting routine
 - ensure each dom row has a "rowIndex" property that can be used in the sort function as a fallback
 - fallback to sort by rowIndex if either rows "days" cell is NaN in comparator