$Skaters is an array of objects which have one parameter skatername and this will sort the array basedon teh skatername parameter.

usort($Skaters, function($a, $b)
        {
            return strcmp($a->skatername, $b->skatername);
        });