export default function hikesService(app) {
  const Challenge = app.models.Challenge;

  return {
    name: 'hikes',
    read: (req, resource, params, config, cb) => {
      Challenge.find({ where: { challengeType: '6' } }, (err, hikes) => {
        if (err) {
          return cb(err);
        }
        cb(null, hikes);
      });
    }
  };
}

@@ -171,24 +171,31 @@
     
-Challenge.find(%7B
+const query = %7B%0A       
  whe
@@ -220,18 +220,85 @@
 e: '6' %7D
- %7D
+,%0A        order: 'difficulty ASC'%0A      %7D;%0A      Challenge.find(query
 , (err, 

add hike service sort by difficulty