Description
Layouts are in incorrect order inside the notebook if the layout count is above 9 in the notebook.
Steps to Reproduce
1- Create a layout, add a window in it.
2- Add a notebook inside the window.
3- Add more than 9 child layouts ( preferably of type terminal ) inside it.
4- Give a title to each terminal layout in order to differentiate between them.
Expected behavior
All the layouts should be in the specified order.
Reason
After going through the code, the problem is the compare child function inside the notebook
Description
Layouts are in incorrect order inside the notebook if the layout count is above 9 in the notebook.
Steps to Reproduce
1- Create a layout, add a window in it.
2- Add a notebook inside the window.
3- Add more than 9 child layouts ( preferably of type terminal ) inside it.
4- Give a title to each terminal layout in order to differentiate between them.
Expected behavior
All the layouts should be in the specified order.
Reason
After going through the code, the problem is the compare child function inside the notebook