sortBy

Specifies sortOption param. When sortOption is AmityCommunityCategorySortOption.NAME, posts will be sorted by name property ASC. When sortOption is AmityCommunityCategorySortOption.FIRST_CREATED, posts will be sorted by createdAt property ASC. When sortOption is AmityCommunityCategorySortOption.LAST_CREATED, posts will be sorted by createdAt property DESC. The default value of sortOption is AmityCommunityCategorySortOption.NAME.

Return

the same AmityCommunityCategoryQuery.Builder instance.