Sum It Up Problem

last two testcase not passing.

any shorting method?

Hey @RULEREMPIRES
code is fine
just sort the Array
updated code :