Is there a way to order by a criteria (for example, return order by name) ?
$b = gps::userAdd($sessionId,$name,$email,$password,$attributes);
echo $response_2 = $b->response;
The function you shared in your post is userAdd(); however that usually has just 1 row so you cant order by.
if you have an array, then you can try usort in php. https://php.net/usort
Markers & maps are magical !!!