Sequence in Many2Many table e.g. sorting in a Many2Many field

As an example: I have the module product_attribute installed. I added some attributes:

Machine width
Cutting length
Power
Cutting width
Weight
Machine depth

I also created some sets and added some of the attributes. But I want to have the attributes in a specific order. So e.g. attribute set Set_1 should have the attributes in this order:

Machine depth
Machine width
Cutting length
Weight

And attribute set Set_3 should have the attributes in this order:

Cutting width
Cutting length
Machine width
Machine depth
Power
Weight

It basically means adding a sequence to the product.attribute-product.attribute-set table but the question remains, how can I sort the attributes? Sorting by removing a attribute from the list and add it to the end of the list is ok for now.

You can not edit the order from a Many2Many field but you can using a One2Many relation and setup a sequence. You can add such One2Many but the relation Model must inherit from ModelView and so you must take care of the access rights.