Sort users

https://gist.github.com/kszeluk/d839618e4d9333a6679b