# Enum BamSortOrder
Enumeration for the header record type.

Defined in | <seqan/bam_io.h>
Signature | `enum BamSortOrder;`

## Enum Values

`BAM_SORT_UNKNOWN = 0` | BAM file sort order is unknown.
`BAM_SORT_UNSORTED = 1` | BAM file is unsorted.
`BAM_SORT_QUERYNAME = 2` | BAM file is sorted by query name;
`BAM_SORT_COORDINATE = 3` | BAM file is sorted by coordinate.

#### Dox Sources

    /*!
     * @enum BamSortOrder
     *
     * @headerfile <seqan/bam_io.h>
     *
     * @brief Enumeration for the header record type.
     *
     * @signature enum BamSortOrder;
     *
     * @val BamSortOrder BAM_SORT_UNKNOWN = 0;
     *
     * @brief BAM file sort order is unknown.
     *
     * @val BamSortOrder BAM_SORT_UNSORTED = 1;
     *
     * @brief BAM file is unsorted.
     *
     * @val BamSortOrder BAM_SORT_QUERYNAME = 2;
     *
     * @brief BAM file is sorted by query name;
     *
     * @val BamSortOrder BAM_SORT_COORDINATE = 3;
     *
     * @brief BAM file is sorted by coordinate.
     */