Standings

Made adjustments to SQL queries for standings as I discovered some views
don't sort properly when rebuilt. Therefore, sorting is included in the
SQL queries.