Implements #304 (closed). We only reset the c->sorted flag for the first receive not for the second one.