Skip to content
Snippets Groups Projects
Commit af8449aa authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

In fetch_all_by_Slice(): Sort on start position as we say we're doing.

From Michael S.
parent 8843a91a
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ sub fetch_all_by_Slice {
#interpolate the features into new features of a different size
my @out;
#sort the features on start position
@features = sort({$a->start() <=> $b->end()} @features);
@features = sort( { $a->start() <=> $b->start() } @features );
#resize the features that were returned
my $start = 1;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment