May 14, 2020 05:11 AMfirstname.lastname@example.org|LINK
For EF order prior to the select does not matter. The LINQ query is converted to a SQL query and run and the SQL query. Specifically with Include when the following statements modify the structure of the query, but a where clause doesn't do that.
In other LINQ queries, LINQ-to-Objects, order can matter greatly as the query is not re-optimized the way SQL is and is simply processed from top to bottom, and some LINQ methods require previous methods to run to completion and process results before proceeding
to even the first element (OrderBy for example).