In js you can have anonymous functions.
Functions are also values:

```javascript
// x takes the value 2
x = 2;
// x takes as value a function that takes one parameter and returns the parameter incremeted
x = function(x) { return x + 1; };
x(2);
```

In this case you can make your function anonymous because we don't use the sortCompare function anywhere else :)