Added lots of sorting by alphabet stuff.