Given a list of names and their popularity ranks, perform a series of functions on them