CORE-5361: accept either sortField and sortDir or sortfield and sortdir as app listing parameters