Add length sort to selecta inputs

Selecta's matching algorithm works far better when you put the shorter
matches at the top.