01-02-2013, 12:25 PM
There is no out of the box solution for that but should be simple to script. What you are searching for is a permutation function to try all combinations of the 5 blocks. Please take a look at Phillip Paul Fuchs awesome permutation function: http://permute.tchs.info/