Sun Studio 12: C User's Guide

(7.11.4.4) The collation sequence of the execution character set:

Locale-specific (ASCII collation in C locale).