sorted the past rides