I'm trying to utilise Umbraco's in-built SortOrder property for IPublishedContent, so that users can sort their nodes to manipulate data on the client-side.
My problem is that the SortOrder seems to be inconsistent, unless I'm missing something.
When I save and publish some content, its SortOrder may jump from 0 to 14, even though it's at the top of the tree view above it's siblings. This then means it appears at the bottom as the second in the tree-view will have a SortOrder of 1.
I feel like I'm missing something obvious, any help would be appreciated.
IPublishedContent SortOrder Property Issue
Hi all
I'm trying to utilise Umbraco's in-built SortOrder property for IPublishedContent, so that users can sort their nodes to manipulate data on the client-side.
My problem is that the SortOrder seems to be inconsistent, unless I'm missing something.
When I save and publish some content, its SortOrder may jump from 0 to 14, even though it's at the top of the tree view above it's siblings. This then means it appears at the bottom as the second in the tree-view will have a SortOrder of 1.
I feel like I'm missing something obvious, any help would be appreciated.
Also, my issue seems to relate to this post:
https://our.umbraco.org/forum/developers/api-questions/48535-contenservice-and-sortorder
Thanks
is working on a reply...