benbernard/RecordStream — pull request #27 by elindsey (2013-12-28 06:09:39+00:00)
Title: lexically sort keys in tocsv, tohtml, and totable if no order is specifi...

...ed

On perls with hash randomization (>= 5.18) this makes UTs pass and makes for a nicer user experience (columns don't randomly reorder themselves). Not much of a departure from previous user facing behavior since the order was random (but consistent) before. Low overhead since we only need to do one sort to get key order for the entire stream.

Also added sorts to the keyspecs as a quick way to get them passing again.

Out of the tests mentioned [here](https://rt.cpan.org/Public/Bug/Display.html?id=91452), only toptable is left (though I haven't yet run tests for all of the utilities requiring extra modules).