Depending on your version of perl, it may use a quicksort or a mergesort. (Google those algorithms and you'll surely find some very good explanations of both.) Newer versions give you some say over which is used via the sort pragma.
In reply to Re: how sort works
by sauoq
in thread how sort works
by Complex13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |