When i have this dropdown list in my code first item:
[Group( ItemConstants.Group_HashtagSelectionGroup, LayoutGroupMetadata.GroupCollapsibleState.Expanded, nameof(HashtagFilterOption), GroupVisibilityRule.VisibilityCondition.Equals, "Select")] [DoNotIncludeInSearch] [DropdownList(ItemConstants.Field_HashtagFilter)] [OptionItem( nameof(Hashtag.Hashtag), nameof(Hashtag.Hashtag.Title), nameof(Id), IncludeChilds = true, SourceType = FieldOptionItemSourceType.Page, SourceId = ItemConstants.Page_Id_Hashtag, IncludeParagraphs = false)] public string HashTagFilter { get; set; }
It results in:
Is there a way to sort this list alphabeticaly?
It is quite a long list and kinda useless when usorted ...