A Privacy-Preserving Solution for the Bipartite Ranking Problem