Sort users by permission and name

And move user list to an array of objects like
{
nick: 'nick',
perm: '@'
}
for easier manipulations