Fixes contacts order.