       perBlocks: 3
       page: parseInt(req.query.page) or 1
       q: req.query.q
+      sort: req.query.sort?.toUpperCase() or 'UPDATED_AT'
   
   graphQL send
     .then (response) ->

      perBlocks: 3
      page: 1
      q: req.query.q
  
  graphQL send
    .then (response) ->
      res.locals.sd.QUERY = req.query.q
      res.render 'profile',
        channels: response.user.contents
        author: res.locals.author

    .catch next

@profile = (req, res, next) ->
  sort = req.query.sort?.toUpperCase() or 'UPDATED_AT'

  send = 
    query: query
    user: req.user or null
