Slightly better sort function for select2

Still a fairly naive sort.  Essentially, favor "early" matches over
late matches.  Solves "The Arkansas Problem" and "The VCU Dilemma".
(Matching Arkansas for Kansas and Virginia for VCU).