Merge pull request #5 from robhudson/ordered-dates

Updated client to output hist in date order
Pad with null values to distinguish from true zeroes.