Exposed sorting vars to the rest api return