The following will give the character order for your default instance collation.In addition non-binary collations seem to use word sorting which ignores certain characters.As mentioned before, I would be interested if anyone could point me at the exact sorting rules as I have never seen them defined.I am particularly interested in:Latin1_General_CI_ASSQL_Latin1_General_CP1_CI_ASLatin1_General_100_CI_ASCREATE TABLE #t( c char(1) NOT NULL ,a tinyint NOT NULL)INSERT INTO #tSELECT CHAR(number), numberFROM master.dbo.spt_valuesWHERE [type] = 'P' AND number BETWEEN 32 AND 127SELECT c, a ,DENSE_RANK() OVER (ORDER BY c) AS rFROM #tORDER BY c