You may use the overloaded method with OrderBy parameter (see
API Reference for more details) but it sorts documents only within one document type. If you use more document types (classes) please use standard ASP.NET methods to sort the dataset. Please see the
MSDN documentation for more information.