restore alphabetic order