'By' expected
An Order By or Group By clause has been specified without the By keyword.
Error ID: BC36605
To correct this error
Add the By keyword to the Order By or Group By clause. The following is an example:
Dim customersByCountry = From cust In customers _ Order By cust.Country, cust.City _ Group By CountryName = cust.Country _ Into RegionalCustomers = Group, Count() _ Order By CountryName
See Also
Tasks
How to: Sort a Collection by Using LINQ (Visual Basic)
Concepts
Introduction to LINQ in Visual Basic
Reference
Order By Clause (Visual Basic)
Group By Clause (Visual Basic)