fixed hour sort issue