make it possible to group charts by priority