Amicable triples: numbers such that sigma(x) = sigma(y) = sigma(z) = x+y+z, x<y<z. We order these triples according to the common value of sigma. Sequence gives x numbers.
As stated, we first order by common sigma value. When the common value of sigma is the same for several triples, these are then sorted (ascending) by the smallest member. When the smallest members also agree, we go on to the second smallest members, and so on, lexicographically. - John Cerkan, Jun 18 2016