Because the code below only returns me the first "104 104" and not "104 106"
$(function(){
$('#sortable li').each(function(){
console.log($('#sortable li').attr('id'));
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><ulid="sortable">
<li id="104"></li>
<li id="106"></li>
</ul>