fix Sessions sort