Is your feature request related to a problem? Please describe.
It's a proposal of a minor performance optimization for llama-cpp reranker. It's a follow up of #7211.
Describe the solution you'd like
#7211 sorts all results and then crop. Binary heap can make it a little bit faster.