Make attributes in LabelEditor sorted