Merge "Creating RankedComparator and using it to sort accounts." into ub-gmail-ur14-dev