updates to allow for sorting of class stats