Say one has $A \subset N$, or the positive integers if that’s better. If $\#A = n$ and one knows $\sum_{a \in A} a$

What is it possible to say about $\sum_{a,a^{‘}\in A, a \neq a^{‘}} max(a,a^{‘})$? 


Any insight or knowledge of something like this?