I dont understand the above post and how that answers your request, but the comment is true..
How ever try this.. add a command button from the forms tool bar and right click it and assign macro and then click record..
now do as you wish sortthe data, be careful mistakes are also recorded.. dont worry about the page braek bit..
DONE
Now select cell A1, and press the tool bar taht floating about the square stop...
Select by right clicking the command button and assign macro BUT edit this time the VBE will open... read it...
That the program you just wrote / recorded..
Theres a start for you, if im telling you what you know sorry but your profile is first post, so except sorry just tring to get you started.