sort changes (very quickly) before start passing them to model