I have following structure in sitecore
> Country
> India
> Srilanka
> Bangladesh
The following query returns all the child items but in alphabetical order
string parentItemPath = "fast:/"+ SitecoreHelper.GetItemUnversioned(Model.Item.ID.ToString()).Paths.Path;
Item[] allItems = SitecoreHelper.GetVersionedItemsByQuery(parentItemPath + "/*" );
But I need the child items in the order defined in Sitecore.
i.e, Same as like Content Tree Order.Is there any way to achieve this.
UPDATE:
I have found one solution, not sure whether it is efficient or not
Provide values for sort field in each Item, like 200 to India, 201 to Srilanka
and so on, and view the same in View. They are listed as same number.