Setting groups order && label layout