I am trying to get modular page content in a custom order, but so far, no luck. Content is displayed, but in a wrong order.
Here is a code of modular.html.twig:
{% for module in collection %}
<div class="row clearfix">
<h2>{{ module.title }}</h2>
{{ module.content }}
</div>
{% endfor %}
Here is a modular page content:
content:
items: '@self.modular'
order:
custom:
- _contentA
- _contentB
- _contentC
For example, my content wil be displayed in that order contentB, contentC, contentA, but not in which I have specifically configured.
What may be the problem?