title: Typescript - Sort strings descending
body: <p>I'm trying to sort a <code>string[]</code> in <strong>descending</strong> way. So far what I have done is the code below: </p>
  
  <pre><code>let values = ["Saab", "Volvo", "BMW"]; // example 
  
  values.sort();
  values.reverse();
  </code></pre>
  
  <p>It's working but I'm trying to figure out if there is a better way to do it. </p>