Developers can now sort geospatial query results by actual distance in Azure Cosmos DB. The new ORDER BY ST_DISTANCE(...) clause brings precise, proximity-aware queries directly into the NoSQL query language — no more manual sorting or client-side workarounds.