Fixed an issue where stacks of the same item in a cabinet would be rearranged when sorting alphabetically.
Added a function IsContainer to return whether or not an Item is an ItemContainer.
Also modified sorting to ignore any ItemContainer. Not sure if this is the ideal solution, but it was easier than figuring out a way to break ties between similar containers.
Edit: This is my first time contributing to something open source, so if I'm doing something wrong, feedback is appreciated.
Fixed an issue where stacks of the same item in a cabinet would be rearranged when sorting alphabetically.
Added a function
IsContainer
to return whether or not an Item is an ItemContainer.Also modified sorting to ignore any ItemContainer. Not sure if this is the ideal solution, but it was easier than figuring out a way to break ties between similar containers.
Edit: This is my first time contributing to something open source, so if I'm doing something wrong, feedback is appreciated.