TotalWar-Modding / tw_pack_lib

1 stars 0 forks source link

Sort files by path when building a pack file #9

Closed Trolldemorted closed 5 years ago

Trolldemorted commented 5 years ago

Pros: items are sorted now Cons: buildpack* require a mutable vec now

I guess we could sort the files into a new vector if we don't want to require mutable references, but this should™ work for now, since I just copied rpfm's sorting function.