array sum with map
sum of ints sorting