src/common/js/winjs/js/ui.js
function moveSequenceBefore(slotNext, slotFirst, slotLast) {
                    slotFirst.prev.next = slotLast.next;
                    slotLast.next.prev = slotFirst.prev;

                    slotFirst.prev = slotNext.prev;
                    slotLast.next = slotNext;

                    slotFirst.prev.next = slotFirst;
                    slotNext.prev = slotLast;

                    return true;
                }
function moveSequenceBefore(slotNext, slotFirst, slotLast) {
                    slotFirst.prev.next = slotLast.next;
                    slotLast.next.prev = slotFirst.prev;

                    slotFirst.prev = slotNext.prev;
                    slotLast.next = slotNext;

                    slotFirst.prev.next = slotFirst;
                    slotNext.prev = slotLast;

                    return true;
                }
function moveSequenceBefore ( slotNext , slotFirst , slotLast ) { slotFirst . prev . next = slotLast . next ; slotLast . next . prev = slotFirst . prev ; slotFirst . prev = slotNext . prev ; slotLast . next = slotNext ; slotFirst . prev . next = slotFirst ; slotNext . prev = slotLast ; return true ; }
Does a little careful surgery to the slot sequence from slotFirst to slotLast before slotNext
Does a little careful surgery to the slot sequence from slotFirst to slotLast before slotNext