sorting in XPath using Java
<p>I am using XML in my project for data to be Insert/Update/Delete &amp; Searching. 
currently i am using XPath for doing the above operations from my JAVA application.</p>

<p>How can i sort the data[ascending/descending] while reading from XML file using XPath.</p>

<p>Can anyone tell me the best way to full-fill this requirement. It's an urgent.</p>
