---
id: compound-ordering
title: _CompoundOrdering
---

export const Tag = ({children, color}) => (
<span
style={{
      backgroundColor: color,
      borderRadius: '2px',
      color: '#fff',
      padding: '0.2rem',
    }}>
{children}
</span>
);

No description

```graphql
enum _CompoundOrdering {
    _id_asc
    _id_desc
    description_asc
    description_desc
    type_asc
    type_desc
    name_asc
    name_desc
    source_asc
    source_desc
    company_asc
    company_desc
    ttd_id_asc
    ttd_id_desc
    chebi_id_asc
    chebi_id_desc
    chemspider_id_asc
    chemspider_id_desc
    drugbank_id_asc
    drugbank_id_desc
    kegg_drug_id_asc
    kegg_drug_id_desc
    kegg_id_asc
    kegg_id_desc
    pubchem_id_asc
    pubchem_id_desc
    unii_asc
    unii_desc
    inchi_asc
    inchi_desc
    inchikey_asc
    inchikey_desc
    cas_number_asc
    cas_number_desc
    accession_numbers_asc
    accession_numbers_desc
    therapeutic_class_asc
    therapeutic_class_desc
    drug_class_asc
    drug_class_desc
    compound_class_asc
    compound_class_desc
    groups_asc
    groups_desc
    categories_asc
    categories_desc
    atc_codes_asc
    atc_codes_desc
    source_url_asc
    source_url_desc
    drug_formula_asc
    drug_formula_desc
    drug_smiles_asc
    drug_smiles_desc
    drug_type_asc
    drug_type_desc
    highest_stat_asc
    highest_stat_desc
    indication_asc
    indication_desc
    mechanism_asc
    mechanism_desc
    synonyms_asc
    synonyms_desc
}
```

### Values

#### `_id_asc`

#### `_id_desc`

#### `description_asc`

#### `description_desc`

#### `type_asc`

#### `type_desc`

#### `name_asc`

#### `name_desc`

#### `source_asc`

#### `source_desc`

#### `company_asc`

#### `company_desc`

#### `ttd_id_asc`

#### `ttd_id_desc`

#### `chebi_id_asc`

#### `chebi_id_desc`

#### `chemspider_id_asc`

#### `chemspider_id_desc`

#### `drugbank_id_asc`

#### `drugbank_id_desc`

#### `kegg_drug_id_asc`

#### `kegg_drug_id_desc`

#### `kegg_id_asc`

#### `kegg_id_desc`

#### `pubchem_id_asc`

#### `pubchem_id_desc`

#### `unii_asc`

#### `unii_desc`

#### `inchi_asc`

#### `inchi_desc`

#### `inchikey_asc`

#### `inchikey_desc`

#### `cas_number_asc`

#### `cas_number_desc`

#### `accession_numbers_asc`

#### `accession_numbers_desc`

#### `therapeutic_class_asc`

#### `therapeutic_class_desc`

#### `drug_class_asc`

#### `drug_class_desc`

#### `compound_class_asc`

#### `compound_class_desc`

#### `groups_asc`

#### `groups_desc`

#### `categories_asc`

#### `categories_desc`

#### `atc_codes_asc`

#### `atc_codes_desc`

#### `source_url_asc`

#### `source_url_desc`

#### `drug_formula_asc`

#### `drug_formula_desc`

#### `drug_smiles_asc`

#### `drug_smiles_desc`

#### `drug_type_asc`

#### `drug_type_desc`

#### `highest_stat_asc`

#### `highest_stat_desc`

#### `indication_asc`

#### `indication_desc`

#### `mechanism_asc`

#### `mechanism_desc`

#### `synonyms_asc`

#### `synonyms_desc`
