Is it possible to turn an IEnumerable into an IOrderedEnumerable without using OrderBy?

All you need to do for the default case is: queryRes = values.OrderBy(a => 1); This will effectively be a noop sort. Because the OrderBy performs a stable sort the original order will be maintained in the event that the selected objects are equal. Note that since this is an IQueryable and not an IEnumerable … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)