bogosort optimization...