saved reordered queue nodes in the database