rniemeyer/knockout-sortable — pull request #4 by RoyJacobs (2012-02-21 12:08:07+00:00)
Title: When source and target and equal, only update the array once

When source and target observable arrays are the same, the plugin sends two updates: For removing the item from `sourceParent` and then for adding the item to `targetParent`.

This poorly formatted (sorry) commit handles this special case.

I was unable to find any tests that actually test the JQuery UI interaction, so I wasn't able to add a test for this, apologies.