You have an IQueryable<Customer> backed by a database. Which single operation, when inserted into the chain, will from that point on cause all later operators to run as in-memory LINQ-to-Objects instead of being translated to SQL?
IQueryable<Customer> q = db.Customers.Where(c => c.Active);
// insert one call here, then continue chaining .OrderBy(...).Select(...)