| | PHP: Selection Sort Algorithm And Goldberg Variations On It. Schwartzian Transform. Bingo Sort. |
 | | A selection sort is an algorithm (the simplest of its kind, not the more efficient) whose purpose, as its name suggests, is that of scanning and sorting incoming data after an order - traditionally from the smaller to the bigger (whence we could already hint a variation: from the bigger to the smaller). |
 | | Please note that all sorts introduce an order within the (arguably) disordered incoming data, but such order does not exist as dictated by natural or cosmic laws: all orders are orders imposed by implicitly presumed look up tables that determine what comes before what, and what comes after what accordingly to a mere convention. |
 | | For this reason, bingo sort is regarded nothing less than the most efficient algorithm at tasks like, for instance, sorting out mails by zip codes (because arguably several mails share identical zip codes) in small counties or towns (that is: not exceedingly long array, with probably several repetitions of each value in it). |
| www.unitedscripters.com /phps/selectionsort.html (3609 words) |