Don't sort, use provided data order
Merge pull request #343 from jvc26/fix-segment-order

Don't sort, use provided data order