fix the bug in ranklist::sort_by_score() and move the rank function from specific ranker(svmranker) into ranklist