sortBy

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

Return

the same AmityCommunityPostQuery.Builder instance.