- Add a Sort_priority_queue_sorts status variable.
The task adds a more efficient handling of the queries with ORDER BY order LIMIT n, such that n is small enough and no indexes are used for order.