improve the order of the matched candidates.