sorted docs resolver