Tools for ranking in Julia