group inventory by instance tags as well