I was wondering are there any ways to sort an array by an particular column, something like a sports league table where the teams are sorted by points?
Develop games in your browser. Powerful, performant & highly capable.
See this demo (sorting array by "HP" in column 1):
dropbox.com/scl/fi/4emlprg2p9zd78q9a36r9/arraySort.capx