HaxeFoundation / code-cookbook

The Haxe Code Cookbook - A community driven resource website for learning Haxe in practise
https://code.haxe.org
112 stars 87 forks source link

sort-array.md #131

Closed uvtc closed 5 years ago

uvtc commented 5 years ago

Can use a.sort(Reflect.compare)

markknol commented 5 years ago

Thanks!

uvtc commented 5 years ago

You're welcome. I like your subsequent updates as well. I was going to ask for a string sorting example in there too, but I see that there's on in the strings article already.