elgg_get_entities: can I order by a metadata value?

Notice the 'order_by_metadata' at the end of this example:

$activities = elgg_list_entities_from_metadata(array('metadata_name'=>'stage_number','metadata_value' => $number_array,'types' => 'object','subtype' => 'lesson_activity','container_guid' => $vars['entity']->guid, 'limit' => "",'offset' => '0', 'order_by_metadata' => array('name' => 'stage_number', 'direction' => ASC, 'as' => 'integer'), 'full_view' => FALSE, 'pagination' => FALSE));

;)