reverse order of classes displayed