Example Sort Application for JSON requests