--- id: 5d7925398a7184b41b12a0e0 title: Part 128 challengeType: 0 dashedName: part-128 --- # --description-- The `sort` method sorts an array alphabetically: ```js ["B", "C", "A"].sort(); // ["A", "B", "C"] ``` Assign the sorted `nums` to `sorted` in `median`. # --hints-- See description above for instructions. ```js assert( code.replace(/\s/g, '').includes('constmedian=nums=>{constsorted=nums.sort()') ); ``` # --seed-- ## --before-user-code-- ```html Spreadsheet
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```