make sure matches are sorted when replaying