ok con un bello studio degli array su php.net sono riuscito a fare quello che volevo se a qualcuno pu interessareecco il codice
Codice PHP:
$consol =array(
'X360' => 'XBOX 360',
'XBOX' => 'XBOX',
'REVO' => 'Revolution',
'NGC' => 'GameCube',
'PS3' => 'PlayStation 3',
'PS2' => 'PlayStation 2',
'PSX' => 'PlayStation',
'PSP' => 'PSP',
'NDS' => 'Nintendo DS',
'GBA' => 'GameBoy Advance'
);
foreach($consol as $clvalue => $clnome)
$sortAux[] = $clvalue['clnome'];
array_multisort($sortAux, SORT_ASC, $consol);
foreach($consol as $clvalue => $clnome)
$orderquery .= " consol='$clvalue' DESC,";
$this->ipsclass->DB->query("SELECT * FROM nuke_Games WHERE id > 250 ORDER BY $orderquery title");