Comb sort implementation