sorting date returns error, problem is sorting is done in query level,
needs to cast the string column to hsqldb date type inorder to sort
correctly.