---
id: 5d7925398a7184b41b12a0e0
title: Part 128
challengeType: 0
isHidden: true
---
## Description
The `sort` method sorts an array alphabetically:
```js
["B", "C", "A"].sort(); // ["A", "B", "C"]
```
Assign the sorted `nums` to `sorted` in `median`.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(code.replace(/\s/g, "").includes("constmedian=nums=>{constsorted=nums.sort()"));
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution