Edit > Arrange

The selected lines will be arranged (ascending) according to the ASCII values of the characters on each line.