atomic function and comments in RankingListAdapter and ListCompareAdapter