randomly order a list

Dar Scott dsc at swcp.com
Thu May 23 16:31:05 EDT 2013

I hit send faster than I can think.  This will put like lines next to each other.  Fail!  But a LiveCode function that looks at sortIV and sets it with the current hash should work.  (I better hit send fast before I find something wrong with that.)

On May 23, 2013, at 2:26 PM, Dar Scott wrote:

> put randomBytes(8) into sortIV  
> sort lines of myVar by sha1Digest( each & sortIV )

More information about the Use-livecode mailing list