sort matches according date