$rci = $db->query('SELECT * FROM dd_categories');
$rci = $db->query('SELECT * FROM dd_categories ORDER BY name');
$rci = $db->query('SELECT * FROM dd_categories ORDER BY ID');