Fix bug sort friends