I'm trying to order items by date from Room database, where the dates are stored as strings with this format MMM dd yyyy
. Is there any way I could do this without changing structure of my database?
I tried @Query("SELECT * FROM table ORDER BY date")
which just orders the months alphabetically.