fix the sort of session by peer