I propose we sort them before building the tree in order to have deterministic order on a PR, avoiding confusion.
This trick with the extra table is the simplest way I have found for a table in a sorted order by their index lua, let me know if I have missed a magical sort function.
Files come in a random order from the API
I propose we sort them before building the tree in order to have deterministic order on a PR, avoiding confusion.
This trick with the extra table is the simplest way I have found for a table in a sorted order by their index lua, let me know if I have missed a magical sort function.