How do I sort these descending correctly? I've tried arr.sort() arr.sort().reverse() , looked all over stack overflow ... and I cannot find a way to do this. Everything tries to sort them but does it wrong.
[
'1/19/2024', '1/20/2023',
'10/21/2022', '11/18/2022',
'12/16/2022', '3/17/2023',
'6/10/2022', '6/16/2023',
'6/17/2022', '6/21/2024',
'6/24/2022', '6/3/2022',
'6/31/2022', '7/15/2022',
'7/8/2022', '8/19/2022',
'9/15/2023', '9/16/2022'
]
Then I need to take those and turn them into the actual month. Jan, Feb, etc. instead of the numerical value ...