SELECT name, surname FROM `table` order by name asc
tad pirms burta A buuus arii tie ieraksi kuros ir tukshums, kaa to var apiet, taa lai paraadaaas pirmie ieraksti ar burtu A, B, C ...Z un tad ar ciipariem un tushumem, pie tam neizmantojot 2 qverijus,
tipa sakumaa select where name<>'' order by name asc
un peec tam select where name='' order by surname asc
taa neder :(