span class="hljs-string">'sv'</span>)
array.sort(svCompare)</code></pre></div> </div><div class="qm-html-paragraph">svCompare in the above example would evaluate to: <div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font"><span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">a, b</span>)</span>{
  <span class="hljs-keyword">return</span> hx.sort.localeCompare(a, b, <span class="hljs-string">'sv'</span>)
};</code></pre></div> </div></div