ordering of matches is important