Help with scripting

I am having trouble writing a script file doing the following functions:
putting one word on each line then
sort these words with frequencies in reverse order then putting them in alphabetical order then
finding the most frequently used 50 words then
sort them in ascending oder by frequency then
show words only (remove frequency column) then
cut these words and using colum 3-6 only.
If you can help me please do. I have the Unix complete book but have been trying to put this together for some time.
:confused: then then

It sounds like you will need to make extensive use
of the "sort" command. Take a look at...
http://unix.about.com/library/weekly/aa021201a.htm

...Once you have absorbed that info. try out some things.
If/When you get stuck, post some details like...

Version of UNIX (AIX, Linux, HP, etc)
Version of Shell (sh, ksh, csh, bash)

...as well as code fragments and any error messages
you may get attempting to execute it.
You may also want to check the FAQ's on this
forum for books and sites on shell programming.