score:3
Accepted answer
Wondering if the filtering has anything to do with it??
Yes, a .Where(
is documented to discard any preceding .OrderBy(
in LINQ to Entities.
Source: stackoverflow.com
Related Articles
- LINQ OrderBy not ordering .. changing nothing .. why?
- LINQ OrderBy igorning case with true ASCII ordering
- LINQ Source Code Available
- multiple orderby in this linq code
- LINQ Lambda efficiency of code groupby orderby
- Linq OrderBy specific values not ordering within groupings
- creating Linq to sqlite dbml from DbLinq source code
- Linq - Orderby not ordering
- source code for LINQ 101 samples
- Orderby not ordering strings that include numbers in Linq
- c# Linq or code to extract groups from a single list of source data
- Linq FirstOrDefault ordering when OrderBy or OrderByDescending are not supplied?
- Suggestions on how to optimize code for ordering by string in linq
- Dynamic LINQ OrderBy on IEnumerable<T> / IQueryable<T>
- LINQ Orderby Descending Query
- Convert string[] to int[] in one line of code using LINQ
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- LINQ OrderBy versus ThenBy
- Linq code to select one item
- How do I specify the Linq OrderBy argument dynamically?
- LINQ OrderBy with more than one field
- How are people unit testing code that uses Linq to SQL
- Linq OrderBy against specific values
- LINQ OrderBy is not sorting correctly
- Custom sort logic in OrderBy using LINQ
- LINQ orderby on date field in descending order
- C# LINQ Orderby - How does true/false affect orderby?
- Use own IComparer<T> with Linq OrderBy
- C# Linq OrderBy filtering null or empty values to be last
- How to OrderBy an integer in a string field in a Linq query
- Add Day to DateTime in EF Core 3 when Select executed
- Linq sort by products but display cateogires
- Filter navigation property EF core
- LINQ Sum of entries based on latest date
- IEnumerable<IEnumerable<int>> - no duplicate IEnumerable<int>s
- How to do join with objects in Entity Framework
- Refactor LINQ to Entities query
- LINQ projection combining date and list
- Using ref parameters in linq
- warning EF1000. What the best way to write parameters in "IN" statement?
- System.invalidoperationexception: collection was modified; enumeration operation may not execute in .net 5 api project
- Filtering Enteties in EF 6.0 with WPF and MySql
- C# Linq ANY vs ALL - Performance
- Converting a "DBML" file to a "SQL database file"
- Unable to cast object of type 'System.Data.Common.DataRecordInternal' to type 'System.Data.IDataReader'
- How do you find a delimited/isolated substring with string.contains?
- Combine linq queries together
- Checking for exitence or counting files with a pattern and without a pattern
- Excluding NULL values in a datatable query using Linq
- OrderBy and ThenBy combined with nested Where?