Keep the order of durations in SpanStore.getTracesDuration.
Merge pull request #367 from nshkrob/fix-duration-order

Keep the order of durations in SpanStore.getTracesDuration.