problem with reference

"N.V. Anil Kumar" <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Hi,

I am a novice in Latex. and planning to write an article. I face this problem of referencing and gone thro the previous mails, but could not understand those tech stuff.

Here is my file and please suggest me what i should do?

Regards 
Anil

--------------------
\documentclass{article}
\usepackage[sort]{natbib}
\begin{document}
This is my test article\cite{ref2}. This should appear as ref 1.  This is my second reference\cite{ref1} in the article ans should appear 2. 
\bibliographystyle{plainnat}
\begin{thebibliography}{99}
\bibitem{ref1} Author entered this reference first
\bibitem{ref2} Author entered this reference last
\end{thebibliography}
\end{document}

--------------------------------
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.