select2 has sortResults in newer versions but so much crap changed there that it's easier to just hack in support for this here fixes #251