Reordering "My Sites" menu Dashboard by Blog ID Descending

I use this code in my function php theme to order blog list in “My Sites” dashboard menu :


function reorder_users_sites( $blogs ) {

$f = create_function(‘$b,$a’,’return strcasecmp($a->blogname, $b->blogname);’:wink:;

uasort( $blogs, $f );

return $blogs;


that code is used to reordering the blog by name. What I want is to reorder it not by blogname, but by blog ID with ASCENDING, from smaller number to bigger number ID. Any one can help me? Sorry for my bad english before, hope you can understand what I mean :slight_smile: