The sort event should be deferred with add events to keep events in  order (sort after add)
Merge pull request #332 from idanz/master

sort event should also be queued when the add event is queued