This task is a perfect match for a heap sort. See Heap for a module that implements a huge variety of heaps.
- tye (but my friends call me "Tye")In reply to (tye)Re: crop-sort: Maintaining a Top-10 Array
by tye
in thread crop-sort: Maintaining a Top-10 Array
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |