Fix the sorting problem when column data  is Date type.