Minimum Weighted Feedback Arc Sets for Ranking from Pairwise Comparisons