sorted mutex problem