Improve sumSquaresTwoLargest with sort; add console.log output