For some reason the Manufacturers and category names in Admin are in random order. Where is the code located to update it to order by ASC?
Thank you.
var query = from c in context.Categories
orderby c.DisplayOrder
where (showHidden || c.Published) &&
!c.Deleted &&
c.ParentCategoryId == parentCategoryId
select c;
var query = from c in context.Categories
orderby c.Name
where (showHidden || c.Published) &&
!c.Deleted &&
c.ParentCategoryId == parentCategoryId
select c;