Hello, i have a field group that is seen here: https://tinyurl.com/yy6s7cht
The template is here: https://pastebin.com/9d2UbvYk
The order of fields on the front end should be
2021
2020
2019
2018
etc…
What is happening is that 2021 is appearing at the bottom of the list when i create that field.
2020
2019
2018
2021
How do i fix this so that 2021 is back on top?
You could try using ksort() and then array_reverse() on the returned list of fields.