hopefully a bugfix

the titles in the title selector are appearing in the wrong order.
Here's a check to sort them more frequently.