You can try changing in the ups.php the line:
Code:
    return $returnval;
to read:
Code:
    $result = array_reverse($returnval);
    $returnval = $result;
    return $returnval;