I need to sort components dynamically in the following template
<div class="orderList">
<componentA></componentA>
<componentB></componentB>
<componentC></componentC>
</div>
by the object like
orders: {
componentA: 2,
componentB: 3,
componentC: 1
}
So I expect to see componentC at first then componentA and finally componentB?
Notes: components are more than three