Sortid on classes