Impress shows slide animations in wrong order when going back to a previous slide

When showing a slide show, when I go to a previous slide, the animations do not work in the correct order.

LibreOffice version (x64)
Windows 10 build 18363

See the example: slides in reverse do not animate correctly.odp

@sikkema, Impress is working in an unexpected way. There is a bug report: tdf#137454.

Tested with LibreOffice (x86); OS: Windows 6.1.

Add Answer is reserved for solutions.

If you think the answer is not satisfactory, add a comment below, or click edit (below your question) to add more information.

Check the mark (Answer markCorrect answer mark) to the left of the answer that solves your question.