Sorting of badges in own and friend’s badges