brianreavis/selectize.js — pull request #562 by miguelcobain (2014-09-10 09:47:24+00:00)
Title: updateOption: invalidate last query

I think we should invalidate last query on `updateOption` because we might have updated the `sortField`.

I was getting some elements out of order (elements that get it's label changed). After this fix, everything is fine.

I know this has an impact on performance, but the user can update all the desired options, and only then perform a `refreshOptions(false)`.
Furthermore, I think this enforces correctness.