Added sample method to return randomized ordering of array