Bruno left a comment on the post about my solution for Scripting Games 2008 Advanced Windows PowerShell Event 7 about my sort routine, using a scriptblock could make it even simpler, and so elegant I decided to make an extra post about it, a generic randomize