сортируйте по последним трем шарецеру в SQL
select Name from STUDENTS where Marks>75 order by right(Name,3),ID ASC;
Nervous Newt
select Name from STUDENTS where Marks>75 order by right(Name,3),ID ASC;