dibi::query('SELECT * FROM [albums] ORDER BY [artist] , [title]');
See Debug Bar window in bottom right corner and click on "1 queries".