So, you have server side processing in AJAX.
Also it is my understanding that after the XSLT transformation you are dealing with the resulting DOM tree in your browser (Javascript).
Typically the task to sort (web) client side is addressed fully client side inside the DOM (with Javascript).
A solution to it (going far beyond your request) may look like this.
In reply to Re: Perl + Ajax + XML + MySQL
by pKai
in thread Perl + Ajax + XML + MySQL
by bcochofel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |