This is interesting, sorting links by content, but how would you go about it using javascript?
Sorry, I meant: you have this:
http://stackoverflow.com'>Stack Overflow
http://www.google.com'>Google
and you want this:
""Google ""
""Stack Overflow ""
...the links having now been sorted into alphabetical order by link.