I have a dataset with multiple columns but I'd like to change the order in chronological order by date!
This is a really bad example but would there be a code to r
Station | year | ID |
---|---|---|
1 | 2020 | D |
2 | 2019 | C |
3 | 2017 | A |
4 | 2018 | B |
This is a really bad example but would there be a code to reorder by date oldest to newest?
Station | year | ID |
---|---|---|
3 | 2017 | A |
4 | 2018 | B |
2 | 2019 | C |
1 | 2020 | D |
To look something like this!
Any help would be amazing! :) Thank you