Go to the first, previous, next, last section, table of contents.


|unsort

Function: |unsort { [] -> [] }
file: job.t
package: muf
status: alpha

Shuffle a block randomly. This is the opposite of |sort

Stack: [ "H9" "H10" "HJ" "HQ" "HK" "HA" |
|unsort
Stack: [ "H10" "HA" "HQ" "H9" "HJ" "HK" |

This is implemented using the heapsort algorithm, but using the random number generator to decide the result of each comparison.


Go to the first, previous, next, last section, table of contents.