<PackageReference Include="Relativity.API" Version="17.0.4" />

IViewOrder

public interface IViewOrder
Represents a sort order of a View Object.
int ArtifactViewFieldID { get; set; }

The Artifact View FieldID of a Field.

string Direction { get; set; }

A value representing it to sort ascending (ASC) or descending (DESC)

int Order { get; set; }

A value representing the priority of the sort condition.

int ViewOrderID { get; set; }

The identifier field for the sort order. The SQL Server automatically manages the value.