Drupal: Sorting a view programmatically
- by Ace
Hey there. I'm trying to take the results of a view - using the function views_get_view_result() - and sort the array in a way I couldn't do from within the Views interface. So far so good. I've got a $rows variable with all of the stuff I need.
Now... How do I put it back? :) Before I needed this sort, I used views_embed_view(), but I can't do that anymore.
Grateful for any help on this, feels like I'm so close to cracking it!