Sorting online->offline and then alphabetical in the friendslist. 

#613