I am currently working on some datasets in R that contain a combined date and time column with data formatted as follows:
"21/02/23, 13:40:39"
So we have "DD/MM/YY, HH:MM:SS" in each row for the column containing the values, df$DateTime
I would like to be able to sort my rows chronologically by the date and time provided, but I'm having quite a bit of trouble identifying a package or function to get this working.
Any suggestions? Thank you everyone
I have seen this question: Ordering date/time in descending order in R
But have had trouble adapting the solutions given to the format of my data.