issue #10 is fixed: sort order asc/desc in php server side