Added more checks for the sorting unit test in condor-log-monitor.