@NewBee117
It seems a little odd to sort that particular list as, if it is static and just 3 values, why not just do it there in the list!?
But, @BCBuizer is correct in the formula provided.
Just to expand on that so you understand - In PowerApps everything revolves around a Value column - it is used quite a bit. Also used everywhere are tables. General practice is that you want to create tables to use that have Value columns.
Because of this, a shortcut was put in place from the very beginning. That was...
It is a bit much extra typing to put in this formula:
Table({Value:2021}, {Value:2022}, {Value:2023})
This formula creates a table with a single column called Value that contains 3 records with the values 2021, 2022, & 2023.
SO...the shorthand methods was created that, if you use [2021,2022,2023] then PowerApps will automatically interpret it as the lengthier formula shown above. It will produce the exact same table as above.
There is no such thing as a table record with no columns (unless it is truly empty)...so as @BCBuizer mentioned...you have always the Value column to sort on.
I hope this is helpful for you.