Fixing the custom date field sorting order logic - Related to the fix that was made for the fix of Issue-35
https://code.google.com/p/dynamic-delivery-4-tridion/issues/detail?id=35&can=1#makechanges