RubaXa/Sortable — pull request #154 by dandv (2014-12-08 06:24:44+00:00)
Title: Expose old & new element index on drag&drop

Fix #148.

The `while (e = e.previousElementSibling) ++startIndex` is very fast: 1.3ms for dragging the last of a 50,000-element list in Chrome on a Core i5.

Might need testing on touch devices; please review. Thanks!