Prepared functions for printing ranking.