Mutates the original array so instead of sum = sum.sort() we can just write sum.sort()
sum = sum.sort()
sum.sort()