Internally inverted priorities to enable sort index.