in reply to alphabetically ordering a list

What you're looking for is sort. I'd post an example here, but it would just be redundant. There's ample examples at the link.
Rich