I'm retrieving a list of people via Basecamp API classic, except it seems to come ordered by ID. I followed the documentation to do so, here is a simplified version of the echoing part:
foreach($persons as $person) {
$firstName = $person->getFirstname();
$lastName = $person->getLastname();
echo $firstName.' '.$lastName;
}
Any idea how I could order this list by alphabetical order?
Thanks for your help.