I would like to group a list of data per a key, and find the max per a different property. If there is a tie, I would find the max among the ties by another property.