distinguish between sorting same list and connected list

distinguish between sorting same list and connected list

Hello i want to distinguish between a sorting in a list itself or when an item from a list is placed in another list:

<ul class="connectedSortable">
  <li>Item 1</li>
  <li>Item 2</li>
</ul>

<ul class="connectedSortable">
  <li>Item 1</li>
  <li>Item 2</li>
</ul>

The problem is that the list are dynamic so now there are two ul's and tomorrow it could be 5 or 4 etc

I am not able to distinguish if a sorting take place in the same ul or if a li item is moved to another ul when using a class connectedSortable.

ui.sender is always null

I need the stop method because thats the only method with reacts for a sorting in the same ul

example:

http://jsbin.com/ihaba5/edit

How to solve htis problem without id's for the ul's ?