Bogosort is the sort for the lucky. It randomises the array completely, checks if it's sorted and if it's not, the algorhitm randomises the array again. You can get the full sort from the first time if you're incredibly lucky and you can never get it sorted if you're incredibly unlucky. Use it for your needs, it's definetely the best sorting algorhitm!