use adjoin-set rather than simply append to make the set in-order
sol of 2.69