Public feed #532768

Someone

public text v1 · immutable
Raw Edit
·published 2007-06-03 07:37 UTC
rendered paste body
<?php 

# Object sorting

function sort_($obj,$obj2) {

  if($obj->id == $obj2->id) return 0;
  if($obj->id > $obj->id) return -1;
     return 1;
}

usort("sort_",$object_ar);

?>