Added sorting and bag placements (seperated bags for item types)