Add failing test related to portal publishing and activities order

[#72639014]
Always order activities in a sequence (fixes portal publication)

[#72639014]

We could sort activities only during portal publication, however it
should be safer / more convenient in general.