"hljs-string">'b'</span>) <span class="hljs-comment">// returns -1</span>
hx.sort.compare(<span class="hljs-string">'b'</span>,<span class="hljs-string">'a'</span>) <span class="hljs-comment">// returns 1</span>
hx.sort.compare(<span class="hljs-string">'a'</span>,<span class="hljs-string">'a'</span>) <span class="hljs-comment">// returns 0</span>

array = [<span class="hljs-string">'b'</span>,<span class="hljs-string">'c'</span>,<span class="hljs-string">'a'</span>]

array.sort(hx.sort.compare) <span class