ArcGIS Pro 2.8 API Reference Guide
SortField Property (PortalQueryParameters)

ArcGIS.Desktop.Core.Portal Namespace > PortalQueryParameters Class : SortField Property
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 10, Windows 8.1

See Also

Reference

PortalQueryParameters Class
PortalQueryParameters Members