Optimized matching

I think I start beeing lazy about that option. The idea is to evaluate the score to the center of set2 and then to sort by decreasing distance.