ToxFriendsContainer: keeping friends array always sorted (handling different updates)