wankdanker/sortkeys — pull request #1 by dominictarr (2012-11-18 21:33:49+00:00)
Title: support comparator function

this enables sorting keys by an arbitary function,

example: sort keys by values.

``` js
obj = sortkeys(obj, function (a, b) {
return obj[a] - obj[b]
})
```