tests for labels and fixes
show labels in alphabetic order