Impacted versions: 8.0

Steps to reproduce:
- Create a database with demo data
- Go to sales, product categories & attributes, attribute values
- Click on 'attribute' column name

Current behavior:
Attribute values are sorted by attribute database ID

Expected behavior:
Attribute values are sorted by attribute name

_name = "product.packaging"
    _description = "Packaging"
    _rec_name = 'ean'
    _order = 'sequence'
    _columns = {
        'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of packaging."),
        'name' : fields.text('Description'),
        'qty' : fields.float('Quantity by Package',
            help="The total number of products you can put by pallet or box."),
        'ul' : fields.many2one('product.ul', 'Package Logistic Unit', required=True),
        'ul_qty' : fields.integer('Package by layer', help='The number of packages by layer'),
        'ul_container': fields.many2one('product.ul', 'Pallet Logistic Unit'),
        'rows' : fields.integer('Number of Layers', required=True,
            help='The number of layers on a pallet or box'),
        'product_tmpl_id' : fields.many2one('product.template', 'Product', select=1, ondelete='cascade', required=True),
        'ean' : fields.char('EAN', size=14, help="The EAN code of the package unit."),
        'code' : fields.char('Code', help="The code of the transport unit."),
        'weight': fields.float('Total Package Weight',
            help='The weight of a full package, pallet or box.'),
    }
    def _check_ean_key(self, cr, uid, ids, context=None):
        for pack in self.browse(cr, uid, ids, context=context):
            if not check_ean(pack.ean):
                return False
        return True
    _constraints = [(_check_ean_key, 'Error: Invalid ean code', ['ean'])]
    def name_get(self, cr, uid, ids, context=None):