sitecore6 - Ordering in sitecore template fields -
i have structure in sitecore content tree
- content type (class 1)
- content type b (jane)
- content type b (alex)
- content type b (liam)
- content type (class 2)
- content type b (bob)
- content type (class 3)
- ....
i display content type b in checkbox list source field in template (essentially picking related content) works need display in alphabetical order regardless of content type content under ie display
- alex
- bob
- jane
- liam
rather than
- alex
- jane
- liam
- bob
i can't see mention of syntax in sitecore query supports type of ordering. have ideas?
if list of sitecore items through .net should able yourlistofitems.orderby(i => i.name)
.
you can list of items using sitecore.contentsearch
in sitecore 7 , up, or sitecore query would.
Comments
Post a Comment