apply Lomuto Partition in sorting Variable Length Bit String