Lotto numbers are either random or a 'played' set. Despite changing the order of two purchasers in the same line, other factors come into play that guarantee a variation.
Playing the same numbers definitely does not put the person switched in an advantageous position ever. If both players matched numbers, they share.