Reorder queue

Tests pass, but reorder does not work in the browser.