The goal of ordering amendments is to reduce the amount of voting that needs to happen by considering amendments that have a bigger impact first. The ordering of the amendments is rule-based. The rules depend on the location of the target of the amendment and the amendment action.
Consider the following (abstract) rule set:
Amendments are first grouped and sorted by article.
Within each sorted group, sort the amendments from those with the biggest impact to the ones with the smallest impact.
For example:
Consider amendments A1 and A2. A1 proposes to change a single word in article 1 and A2 proposes to delete article 1. Since the impact of A2 is much bigger than A1, and in fact "contains" A1, it should be first in the list.
The system should warn the user in case the ordering in the amendment document is different from the ordering prescribed by the rule set.