Well then, you'd better hop-to-it and get writing then don't you? There's countless examples of sorting code on the web. If you cant even be bothered to search for them, and instead ask to be spoon-fed,you're not going to enjoy programming much - it's an occupation that required copious amounts of research. Also, you might wish to edit your question to remove your email address - you'll get email notifications if someone replies anyway - providing your email just provides opportunity for others to inconvenience you. :doh:
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon