title: use arrow functions with two values e.g. Array.sort Javascript
body: <p>I know how to use an arrow function for e.g. Array.filter() method, as you only need one value: <code>var a = array.filter(val=&gt;{return val&lt;=5;});</code>
  but how do you do it with more than one value like with sort? I tried this but it doesn't work:<code>array.sort(a,b)=&gt;{return b-a;});</code></p>