Added direction for inspection sorting API calls