Reduce unnecessary array sort calls

There is no need to call array().sort in every iteration of the each
loop. Instead call it only once at the end of the loop.
Merge branch 'master' of github.com:kali-hernandez-sociomantic/graphitus

Conflicts:
	js/dashboard.js