Update the block creating function to sort the number array in this function and not outside
Now creating the blocks for o1