If you mean in the toolset, by setting the values in a list attribute, you don't. Removing all items from your list, then create your sorted list in a .txt file and importing that is the fastes option as far as I know.
If you mean in-game, with code: sorting list is not a simple matter, and several algorithms exist on that subject. You'll either have to create your own algorithm, probably with a lot of loops, or you can try your hand at this:
sort(f : T -> T -> Int) : Void
Sorts `this` Array according to the comparison function `f`, where `f(x,y)` returns 0 if x == y, a positive Int if x > y and a negative Int if x < y. This operation modifies `this` Array in place. The sort operation is not guaranteed to be stable, which means that the order of equal elements may not be retained. For a stable Array sorting algorithm, `haxe.ds.sort.MergeSort.sort()` can be used instead. If `f` is null, the result is unspecified.