Problem with random sort order using Linq-to-Entities

Developers who were talking to me in the past few weeks should have mentioned, that I’m impressed by a technique called LINQ (Language INtegrated Query). This is a feature of .NET and provides the possibility to use SQL like statement in your „normal“ source code. This is very useful, because it enabled the developer to drive powerful selections on data which is in-memory or in other words objects. LINQ comes with a generic interface called IQueryable, which supports all necessary functions for selecting, ordering, querying, etc.

(mehr …)