.TH GFF-SORT 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" .SH NAME gff\-sort \- sort a General Feature Format version 3 file .SH SYNOPSIS .B gff\-sort .SH DESCRIPTION \fBgff\-sort\fP reads a General Feature Format version 3 (GFF3) file from standard input and prints a sorted equivalent to standard output. It sorts according to the following criteria: .PD 0 .TP 2 \(bu accession (highest priority), case insensitively .TP 2 \(bu feature identifier, case insensitively and hierarchically .TP 2 \(bu strand (positive first) .TP 2 \(bu start position .TP 2 \(bu length (longest first) .TP 2 \(bu feature key (lowest priority): .RS 2 .TP 2 \(bu \fBgene\fP or \fBpseudogene\fP (first) .TP 2 \(bu \fBmRNA\fP, \fBprimary_transcript\fP, or a recombination site such as \fBC_region\fP .TP 2 \(bu \fBCDS\fP .TP 2 \(bu \fBexon\fP or \fPintron\fP .TP 2 \(bu anything else (last) .RE .PD .SH SEE ALSO .BR gff2xml (1), .BR sort\-table (1), .BR transmute (1), .BR xtract (1).