[visualize/editor] moved sorting logic into _.move, used by both moveUp and moveDown
[visualize/editor] added tests to prove 2740bd2