hook_views_pre_render(&$view) seems to be called after the pager rendering
I couldn't find any hook to sort the views result after the results so I ended up using the module "Views PHP" and sort my view using the following:

&lt;?php    
    $deliveryTime1Arr = delivery_time_lookup($row1-&gt;nid);
    $deliveryTimeRow1=$deliveryTime1Arr[3];
    $deliveryTime2Arr = delivery_time_lookup($row2-&gt;nid);
    $deliveryTimeRow2=$deliveryTime2Arr[3];
    if($deliveryTimeRow1&gt;$deliveryTimeRow2) return 1;
    else if($deliveryTimeRow1 == $deliveryTimeRow2) return 0;
    else if($deliveryTimeRow1 &lt; $deliveryTimeRow2) return -1;
?&gt;