Sorting date problem on HTML Table Report