updated the sort to work properly based on the GET instead of the POST;
resolves http://bugs.web2project.net/view.php?id=1245