Why when ordering by status the order looks funny?
If you have into ordering your result set, JIRA makes it very easy to order by ascending or descending by clicking on the column header. No issues there. However, if you try ordering by status, the results may surprise you. It's not in alphabetical order as you would expect. In fact, it seems very random but there is a method to the madness.
If you log into your admin area and go to issues -> statuses, you'll find that the status order seen in the issue navigator is reflected here. Basically it is a custom order set by the JIRA administrator.
See examples screenshots here.