You are here

Sorting

This section provides a brief overview of support for sorting of ListingContext results in the iOS Client API.

Although the ListingContext object exposes the ability to sort, sorting will not be supported by all methods that accept a ListingContext object.

The services that support sorting and the valid properties that can be used as the sort property are shown.

CommentService

Method Default sort field?
createdAt Yes

DocumentFolderService

Property Default sort field?
name Yes
title No
description No
createdAt No
modifiedAt No

SearchService (Keyword search only)

Property Default sort field?
name Yes
title No
description No
createdAt No
modifiedAt No

SiteService

Property Default sort field?
title Yes
shortName No

VersionService

Property Default sort field?
name Yes
title No
description No
createdAt No
modifiedAt No
Note: All the sort properties are provided as public constants, which are tabulated in SkyVaultConstants.