[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sort the resulting ObjectSet by the given comparator.

Namespace: Db4objects.Db4o.Query
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Function SortBy ( _
	comparator As IQueryComparator _
) As IQuery
C#
IQuery SortBy (
	IQueryComparator comparator
)
Visual C++
IQuery^ SortBy (
	IQueryComparator^ comparator
)

Parameters

comparator
Db4objects.Db4o.Query.IQueryComparator
The comparator to apply.

Return Value

this Db4objects.Db4o.Query.IQuery object to allow the chaining of method calls.

Remarks

Sort the resulting ObjectSet by the given comparator.