We are releasing the lock between the sort and iteration of the
\"sorted\" list. There could be changes to the list here:
1. Add a child queue to the end of the list, this doesn't affect
container assignment.
2. Remove a child queue, this is probably good to take care of so we
don't assign to a queue that is going to be removed shortly.