lock on sorted list of entries