fixed not sorted when flushed on GracefulStop