There is such a list of blocks, you need to sort on the s3 block and change the position of the item block (well, raise it higher or lower)
<div class='s'> <div class='item'> <div class='s1'>text</div> <div class='s2'>text</div> <div class='s3'>1232</div> </div> <div class='item'> <div class='s1'>text</div> <div class='s2'>text</div> <div class='s3'>1232</div> </div> </div>
How to do it? It's just that with js I'm only in the process of learning, and I need to do such crap now. When trying to read different articles in pieces, in the head porridge. Thank you in advance.