lib/index.js
function createSortyOpts(keys) {
  var result = []
  keys.forEach(function(keyName) {
    result.push({
      name: keyName,
      dir: "asc"
    })
  })
  return result
}
function createSortyOpts(keys) {
  var result = []
  keys.forEach(function(keyName) {
    result.push({
      name: keyName,
      dir: "asc"
    })
  })
  return result
}
function createSortyOpts ( keys ) { var result = [ ] keys . forEach ( function ( keyName ) { result . push ( { name : keyName , dir : "asc" } ) } ) return result }
Creates the sorty module opts from the provided object keys.
Creates the sorty module opts from the provided object keys .