Fix sort event not firing