sorted two diff versions