The main problem here is that I’m saving these values on Firebase so this format is more readable for me as “admin of database” and these values will be shown in app as “readable data”. This way the application is doing less operations because it doesn’t have to transform from mills to readable date~time.
But I could save data with this format from database into a variable, then I could transform to mills, sort, then transform again into readable date~time? This way seems very heavy but i can read values from database too…
Or… do you have any suggestion?
Ok! managed to find the solution!
Unfortunately I don’t like the amount of operations my app has to do to achieve this result but it’s the best solution for my problem!
In case anybody would need this solution in future, here it is: