How are entries in index leaf node ordered?
The actual data in a page is not necessarily in any particular order.
The logical order of data in any index 8k page is determined in the row offset array.
https://www.sqlservercentral.com/blogs/does-a-clustered-index-really-physically-store-the-rows-in-key-order