How can I modify the following call so upcoming events show up first. Currently the order is very random; I need to show most current events at the top and any past events should not be showing...
<div class="events-links">
<?
include "eventbrite/Eventbrite.php";
$authentication_tokens = array('app_key' => 'APP_KEY',
'user_key' => 'USER_KEY');
$eb_client = new Eventbrite( $authentication_tokens );
$events = $eb_client->user_list_events();
?>
<span class="inspirational">Upcoming Events</span>
<?= Eventbrite::eventList( $events, 'eventListRow'); ?>
</div>
- these are not my tokens; I changed them prior to posting to just random characters :)