OrderBy Parameter (Select-OData Cmdlet)
The order in which columns will be returned.
Select-OData -OrderBy string
The order in which columns will be returned. The value of this parameter has the same syntax as the ORDER BY clause of an SQL statement. You can specify multiple columns and the order to sort each by in a comma-separated list.
Select-OData -Connection $connection -Table "Lead" -Columns "FullName ASC" -Where "FirstName <> 'Bartholomew'"