Sorting by dates is not working properly
nbelyh opened this issue · comments
User issue:
- you have a "date" property (a birthday, for example).
- the dates are in Spanish.
- the org chart was created using a wizard, so all dates are strings (the wizard always uses strings).
The problem is, if you sort by dates, the sorter just sorts them alphabetically. That is not correct.
Example:
- Octubre 6, 2001
- Marzo 30, 1993
- Julio 07, 1956
- Enero 29, 1996
Are sorted as:
- Enero 29, 1996
- Julio 07, 1956
- Marzo 30, 1993
- Octubre 6, 2001
Which is obviously incorrect. The correct order should be:
- Julio 07, 1956
- Marzo 30, 1993
- Enero 29, 1996
- Octubre 6, 2001