Submit sort query by POST