When I put in a bag or in a backpack, gems or other objects they don't group automatically, also if you sort by type. In addition, when you open your inventory, and then you open a bag, a backpack o any other container, the last menu will open always under the character inventory (I think in the center of the screen is the automatic option) instead of in a free space.