LINQ OrderBy not ordering .. changing nothing .. why?
Any idea why the LINQ OrderBy is not working in following code, (have no errors but method does not sort ...) First my own type public class IQLinksView { public int id { get; set; } public int catid { get; set; } public int? viewed {get;set;} public string name {get;set;} public string desc {get;set;} public string url {get;set;} public string pic {get;set;} public string cat {get;set;} } then query : IQueryable<IQLinksView> newView = from links in this.emContext.tbl_otherlinks select new IQLinksView { id = links.pklinkid, catid = links.tbl_catgeory.pkcategoryid, viewed = links.linkviewed,