Suppose we're given a sentence. Then, how would we arrange the words alphabetically?
For example,

Sentence: Big Bang Theory is better than Two and a Half Men. 

Arranged Sentence: a and Bang better Big Half is Men than Theory Two.

I was thinking of applying a loop through the alphabets and comparing it with the sentence, but I keep getting confused. I can't think of anything. Help!