Sorry for my mistake, I have to provide a real sample for the question, the symbols inside are included in my identifier:
code example:
select ID from student order by ID Expected output from mine but system output ------------------------- ----------------- JAD.1.99.9 JAD.1.99.10 JAD.1.99.10 JAD.1.99.9
and this ID is of type nvarchar .
source share