alphabetSort, NSort
effficiency:N
maxSum and maxSumTest
set max to -128