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

In This Topic
    SortField Property (PortalQueryParameters)
    In This Topic
    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;}
    Public Property SortField As String
    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