The ordering of reactions is changed after Undo/Redo of adding from file and Layout or Save/Load actions to/from RDF
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Steps to Reproduce**
1. Load from ket or rdf several reactions:
[rdf-issue.zip](https://github.com/user-attachments/files/17523038/rdf-issue.zip)
[ket-issue-2.zip](https://github.com/user-attachments/files/17523040/ket-issue-2.zip)

2. Undo adding of reactions
3. Redo adding of reactions
4. Make save/load to RDF or layout actions
**Actual behavior**
The ordering is changed:

**Expected behavior**
The ordering isn't changed, it's as on step 1
**Environment details:**
- Reproduced on RC SA env;
- Ketcher [Version 2.26.0-rc.6] Build at 2024-10-25; 09:57:12;
- Indigo Version 1.25.0-rc.4.0-g8862ccb7e-wasm32-wasm-clang-19.0.0
- Desktop, Windows 11 Enterprise
- Chrome, Version 130.0.6723.70 (Official Build) (64-bit)
**Additional context**
- The fix is detected during retesting of https://github.com/epam/Indigo/issues/2454, but initially it's related to https://github.com/epam/Indigo/issues/2422
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.