 'é', 'è', 'z']</span>
array.sort(hx.sort.localeCompare(<span class="hljs-string">'sv'</span>)) <span class="hljs-comment">// returns ['a', 'e', 'é', 'è', 'z', 'ä']</span></code></pre></div></div></div> </div></div></div><div class="qm-docs-topic"><div class="qm-docs-anchor" id="api"><div class="qm-docs-topic-header qm-header-font">Api<a class="qm-docs-anchor-icon" href="#api"></a></div></div><div class="qm-docs-topic-body"><div class="qm-html-paragraph"><a href="/docs/sort/changelog">Change Log</a> </