Referencing to this ticket: Magento 2 - Remove and change footer links
I have now the question if one can change the position from the respective links without removing them and reinitiating them afterwards.
Is there any sort parameter for XML?
<referenceBlock name="catalog-search-advanced-link" remove="true"/>
<referenceBlock name="search-term-popular-link" remove="true"/>
<referenceBlock name="sales-guest-form-link" remove="true"/>
<referenceBlock name="footer_links">
<block class="Magento\Framework\View\Element\Html\Link\Current" name="ueber-uns">
<arguments>
<argument name="label" xsi:type="string">Über uns</argument>
<argument name="path" xsi:type="string">ueber-uns</argument>
</arguments>
</block>
<block class="Magento\Framework\View\Element\Html\Link\Current" name="kundenservice">
<arguments>
<argument name="label" xsi:type="string">Kundenservice</argument>
<argument name="path" xsi:type="string">customer-service</argument>
</arguments>
</block>
<block class="Magento\Framework\View\Element\Html\Link\Current" name="contact-us-link">
<arguments>
<argument name="label" xsi:type="string">Kontakt</argument>
<!-- <argument name="path" xsi:type="string">customer-service</argument> -->
</arguments>
</block>
<block class="Magento\Framework\View\Element\Html\Link\Current" name="privacy-policy-link">
<arguments>
<argument name="label" xsi:type="string">Datenschutz</argument>
</arguments>
</block>
</referenceBlock>
Results in:
Datenschutz
Kontakt
Über uns
Kundenservice
on the frontend (in this order), even if I declared "Über uns" BEFORE I changed the name of the contact-us-link
and the privacy-policy-link