At least one object must implement IComparable

Hey guys,
I’ve been getting this error, occasionally, when trying to create a dynamicnodelist that has a where and orderby clause.
The statement looks like this:

top3News = Model.Descendants().Where("NodeTypeAlias == \"Arrangement\""").OrderBy("orderDate desc");

But now it gets weird!.. I only get this error when the last created content node (with NodeTypeAlias Arrangement) has no value in my custom property orderDate. E.g. All other nodes does not need to have any value in orderDate but the most recent one does.

I have been pulling my hair out of my head trying to solve this anoyingly random error.

Can anyone shed some light on this?

Follow up Is there anyway to only do the OrderBy if the node HasValue in orderDate ?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/82570-at-least-one-object-must-implement-icomparable