reorder queue