Actually, I need two arrays, from two attributes, "id_play" and "orden_play".
I share my code here:
let id_play = [];
let orden_play = [];
id_play = $("#listaOrdenable").children().attr('id_play');
orden_play = $("#listaOrdenable").children().attr('orden_play');
<ul id="listaOrdenable" class="s1">
<li orden_play="0" id_play="47"><img src="uploads/meade.jpg" width="40" heigth="40">1</li>
<li orden_play="1" id_play="49"><img src="uploads/videoIcon.png" width="40" heigth="40">2</li>
<li orden_play="2" id_play="50"><img src="uploads/RARA.jpg" width="40" heigth="40">3</li>
<li orden_play="3" id_play="51"><img src="uploads/videoIcon.png" width="40" heigth="40">4</li>
</ul>