Joel,
In the case where the data I want to sort on isn't sortable I create a new field that is. So if it's day of the week then I'll create a day_idx field eg. Sunday - 01, Monday - 02 etc..
hth, Marty
At 10:18 AM 3/25/2011, you wrote:
Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CBEAF7.940E9931"
If I have a View and want a certain sort order, how would you guys approach it? My solution is to just break it apart in the tpl.php file, but Iâm curious if thereâs a better way.
So letâs say we have days of the week (just an example, could be other items, but this seems universally available). I canât sort alphabetically, I need it to be Sunday, Monday, Tuesday, etc.
Thoughts?
Joel