qz arrange the order of classes system