Skip to content

Commit 5b3f5fa

Browse files
committed
fix formatting
1 parent e0120f0 commit 5b3f5fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/cosmos-db/sql-query-order-by.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.author: tisande
1010
---
1111
# ORDER BY clause in Azure Cosmos DB
1212

13-
The optional ORDER BY clause specifies the sorting order for results returned by the query.
13+
The optional `ORDER BY` clause specifies the sorting order for results returned by the query.
1414

1515
## Syntax
1616

@@ -26,9 +26,9 @@ ORDER BY <sort_specification>
2626

2727
Specifies a property or expression on which to sort the query result set. A sort column can be specified as a name or property alias.
2828

29-
Multiple properties can be specified. Property names must be unique. The sequence of the sort properties in the ORDER BY clause defines the organization of the sorted result set. That is, the result set is sorted by the first property and then that ordered list is sorted by the second property, and so on.
29+
Multiple properties can be specified. Property names must be unique. The sequence of the sort properties in the `ORDER BY` clause defines the organization of the sorted result set. That is, the result set is sorted by the first property and then that ordered list is sorted by the second property, and so on.
3030

31-
The property names referenced in the ORDER BY clause must correspond to either a property in the select list or to a property defined in the collection specified in the FROM clause without any ambiguities.
31+
The property names referenced in the `ORDER BY` clause must correspond to either a property in the select list or to a property defined in the collection specified in the `FROM` clause without any ambiguities.
3232

3333
- `<sort_expression>`
3434

@@ -40,7 +40,7 @@ ORDER BY <sort_specification>
4040

4141
- `ASC | DESC`
4242

43-
Specifies that the values in the specified column should be sorted in ascending or descending order. ASC sorts from the lowest value to highest value. DESC sorts from highest value to lowest value. ASC is the default sort order. Null values are treated as the lowest possible values.
43+
Specifies that the values in the specified column should be sorted in ascending or descending order. `ASC` sorts from the lowest value to highest value. `DESC` sorts from highest value to lowest value. `ASC` is the default sort order. Null values are treated as the lowest possible values.
4444

4545
## Remarks
4646

0 commit comments

Comments
 (0)