stats: atomically set sort_status