ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalQueryParameters Class / SortField Property
Version

SortField Property (PortalQueryParameters)
Gets or sets the field to sort by. (e.g for groups the allowed field names are title, owner, and created).
Syntax
public string SortField {get; set;}
Remarks
Corresponds to the "SortField=" parameter of a portal REST query. The allowed values are:
title, created, type, owner, modified, avgRating, numRatings, numComments, and numViews

SortField is ignored for spatial queries (i.e. when using a bounding box)
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also