Thank you so much. This mostly solves my problem.
The only thing now is that Team names always contain comma (,) so TableView thinks they are two different columns. Any idea how to fix this?
Note, the values of the rows in relation to each other are nonsense, just there to show how to sort a table by column. Of course, you can expand this to sort by Points, then by Goal Difference.
Thank you! I implemented this sorting alghoritem and it works great. Its also very simple to add sorting via multiple columns. You saved me A LOT of time.