public FeatureList sortByStart ( ) { FeatureI [ ] array = toArray ( new FeatureI [ 1 ] ) ; Arrays . sort ( array , new FeatureComparator ( ) ) ; return new FeatureList ( Arrays . asList ( array ) ) ; }
Create a new list that is ordered by the starting index of the features locations . All locations must be on the same strand of the same sequence .