Refactor / simplify sequence publication

[#72639014]

Do not handle 'position' attribute of an activity, use its position
within the array.