Fixed sort. Loaded friends on login.