Endeca Presentation API
OrderBy Constructor (fieldName, isAscending)
NamespacesEndeca.Navigation.AnalyticsOrderByOrderByOrderByNew(String, Boolean)
Creates a new OrderBy.
Declaration Syntax
C#Visual BasicVisual C++
public OrderBy(
	string fieldName,
	bool isAscending
)
Public Sub New ( _
	fieldName As String, _
	isAscending As Boolean _
)
public:
OrderBy (
	String^ fieldName, 
	bool isAscending
)
Parameters
fieldName (String)
The name of the Endeca property or dimension by which the records will be ordered.
isAscending (Boolean)
true for an ascending sort or false for a descending sort.
Remarks
The new OrderBy specifies a sort on an Endeca property or dimension indicated by fieldName in a sort direction specified by isAscending.
Examples
This sample:
CopyC#
OrderByList o = new OrderByList();
o.add(new OrderBy("Total", false));
specifies an ordering based on the Total property with a descending sort of the records.

Assembly: Endeca.Navigation (Module: Endeca.Navigation) Version: 0.0.0.0