edge-matching now works with 2 diff strategies

1. based on polygon's attribute + a prio list
2. based on the dataset order (order given in a prio list)