added 1ms delay to fire sortComplete event