Implemented Reordering of queue items