Generally, my link list will store a list of files and sub directories' name in a folder.
But now I'm having problem of sorting them alphabetically since I only learned how to sort a link list based on Integer ( ex. code / ID ).
I was thinking can I generate a number based on the file or sub directory name. Of cause this number should produced by every alphabets in the string and length of string as well. So I can sort them perfectly later. But i was non-stop thinking for almost a day I still cannot figure out how to generate the number sensitively based on every alphabets and length of the string.
Anyone can advice ? or is there any other better way instead of this one?