Forums / Developer / Ordering by Different Attributes

Ordering by Different Attributes

Author Message

Oliver Frommel

Tuesday 04 December 2007 7:34:22 am

Hello,

what is the best way to implement ordering of content objects by different attributes. Let's say we have ClassA with date1 and ClassB with date1, then date1 and date1 are essentially different attributes (as seen in their numeric ID), right?

Now when I do a 'fetch' in a template how can I order by those attributes that have to be of the same type of course?

Thanks
Oliver