the order should be `list(ordered(set(...` so the list is ordered properly; set doesn't lead to a canonically ordered list.