Given an arbitary number of flexbox children with an inline order
attribute used for sorting, how would one select the last ordered element in CSS?
<ul style="display:flex">
<li style="order: 4">a</li>
<li style="order: 5">b</li>
<li style="order: 3">c</li>
<li style="order: 1">d</li>
<li style="order: 2">e</li>
</ul>
:last-of-type
doesn't work on flex children, and the list can be any length, so selecting by order index isn't an option. I'm not interested in JavaScript solutions.