SP.Social.SocialFeedOptions.sortOrder property (sp.userprofiles)

Gets or sets the feed sort order.

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Social.SocialFeedOptions.get_sortOrder()
SP.Social.SocialFeedOptions.set_sortOrder(value)

Return value

Int32
The sort order of the threads in the feed: 0 = sort by last modified date, 1 = sort by created date. Represents a SocialFeedSortOrder field. The default sort order is by last modified date except for timeline feed types, which are sorted by created date by default.

See also

Other resources

SocialFeedOptions

SocialFeedSortOrder

SocialFeedType