I have developed an App ..For that I have a database and it has many tables. One of the table has date column. My question is I have to sort the dates and have to pick olde
You can change how it is being stored. Instead of one column, have 3: month , day , year ;
This allows more flexibilityand you can sort it more easily. Since it is numbers month(1-12) instead of strings, it will be more easily sorted.
SELECT month,day,year FROM tables ORDER BY month,day,year DESC;