use proper order by field
fix expected data ordering
Merge pull request #993 from matley/fix-classical-qa-test

Fix Risk QA test
export/hazard:

Added util function for organizing exported hazard curve results by
GMPE and IMT.
tests/export/hazard_test:

Added test for `_get_end_branch_export_path`.