hack ranker sorting issue