rearrange names alphabetically