fix bug 495 Reordering clips does not stick properly

This isn't the most performant way to do this, but the bug is fixed.  I'll make it faster in the future