LessonAbout 7 minLesson languageEnglishதமிழ் (Tamil)हिन्दी (Hindi)മലയാളം (Malayalam)తెలుగు (Telugu)ಕನ್ನಡ (Kannada)বাংলা (Bengali)मराठी (Marathi)ગુજરાતી (Gujarati)ਪੰਜਾਬੀ (Punjabi)Chapter 6 · Lesson 5 of 505. Totals and order: reduce and sortSquash an array into one value with reduce (a total, the biggest), and put numbers in order with sort((a, b) => a - b).