Efficient Portfolio Selection through Preference Aggregation with Quicksort and the Bradley--Terry Model