ascii sorting in unix

Hi all
i am facing a problem in sorting command. The script depending on the sorting command works fine only if ascii sorting is done.
i need to know how to find out how to perform ascii sorting. sorting is case insensitive in
my file has data in the following format.
AA/BB/
AAA/BB\

also the presence of slashes (both forward and backward slashes)will differ when i perform ascii sorting.

sort orders lists using what is called a collating sequence. This is defined by your locale.
If sort does not work the way you want in terms of ordering a file, you need to look into changing locales when you sort. The POSIX locale (C is another name for it) sorts in "ascii" order.