The banks and streams are put into the .pck ordered by their hashes in ascending order.
I added logging code to pck_unpack.py and pck_unpack.py (see attachements).
The banks are mapped to names, so the repacker script retrieves the bank hashes and sorts them -> correct.
However, the streams are...