My date data is something like this "Jun-22","Jul-22","Aug-22" Now, when I try to convert this into date, it shows NA. Then I tried to add Day, which was converted, but I want to keep the data as character. The main issue I am having is that the Date is automatically sorted alphabetically but I want to sort it by month. Now is there a way to arrange the text as a month? I don't know if this makes sense or not.
Month_Date\<-c("Jun-22","Jul-22","Aug-22","Sep-22", "Oct-22","Nov-22")
I want to keep this as it is but want to use it as "dates" and arrange it according to the month. Is there a way to do this? I don't want to have "01-06-2022".