sorting table of standings