You have to think of the normal sort as a performance hack, something that is good because copying data wastes a lot of time, if the array is large or if you have to sort an many small arrays. Normally in Python you prefer sorted(), that returns a sorted copy, unless performance is important. I'd like something like sorted() in D too.

I didn't know that, this solution is what i meant.
So, they didn't blindly enforce functional language rules to a non-functional language.

Reply via email to