select * from table1 A
order by (select count(*) from table1 where sername = A.sername) desc