I have a list of 46 unique items. I have a list of rules that specifies that some items need to be spaced a certain distance apart.
e.g.
46 Items
There are 14 of Item Type A
Item Type A's need to be spaced apart by (46/14)= 3.3 Items
Is there a way I can sort the list by these rules?
e.g.
Item Type A
Other item
Other Item
Other Item
Item Type A
Other Item
Other Item
Other Item
Item Type A
e.g.
46 Items
There are 14 of Item Type A
Item Type A's need to be spaced apart by (46/14)= 3.3 Items
Is there a way I can sort the list by these rules?
e.g.
Item Type A
Other item
Other Item
Other Item
Item Type A
Other Item
Other Item
Other Item
Item Type A