     options.namespace ?= options.exports
 
     return lib.pipe.lazypipe()
+    .pipe -> sort(options.sort)
     .pipe -> lib.pipe.concat("#{name}.coffee")
     .pipe -> lib.metadata.data((file) ->
       file.data ?= {}

config = require('../../config')
util = require('../../util')
umd = require('../umd')

formatName = (name) ->
  name.replace(/-(.)/, (match, x) -> x.toUpperCase())

    namespace: undefined
    isPlugin: undefined
    umd: {}
    sort: {}
  }
  (options) ->
    name ?= util.loadPackageJson().name
