Ok, I've got some code that creates an array, and then iterates over that array, and from one of the items, gets an id, and a title.
What I WOULD like, is to be able to organize based on date.
Now as you can see, I already grab the date per item, however there's no real easy way to organize based on it that I can see. I suppose I could pull the entity id, check the date on it, and put that in order, and then generate the additional data after that - would that be the simplest method?
$multi_reg_id = multi_reg_get_id();
foreach ($multi_reg_id as $regid) {
$node = node_load($regid->entity_id);
$title = $node->title;
$date = $node->field_event_date[LANGUAGE_NONE][0]['value'];
$entity_id = (string)$regid->entity_id;
$dt = new DateTime($date);
$date = $dt->format('l, F d, Y - g:ia');
$checkbox[$entity_id] = $title . " | " . $date;
}
return $checkbox;