I\'ve got a model eg. Car with a foreign key eg. Owner, which may or may not be blank. The Car has a creation_date.
I would like to order these cars by date, but if
You could write a method that returns the appropriate date (if car has owner return birthday else return creation_date) and then order your model based on this method.