The default primary sorting in the Spectral Line Picker is by Rest Frequency.
In order to change the primary sorting column, click on the title of the column. Clicking another time will revert the sorting order.
For more information, please see the Spectral Line Picker chapter of the OT User Manual.