In Spain, people always have two surnames. The first one is inherite from the father, the other from the mother. This is the habitual order, but it can be swapped; the only condition is that when a couple choose an order for their first child, the following children have to keep the same order.