FWIW, I wrote a bot script to sort some tables a while ago.https://bitbucket.org/WilliamAvery/wikipythonics/src/master/draftPickSortBot.py