Add ComputeRank

This is useful for populating "top 10" tables of data.