preserve segment order when pulling from cache
Merge pull request #566 from metamx/fix-cached-segments-order

preserve segment order when pulling from cache