Arbitrary key sorting for sorted charts

Pie, horizontal, and vertical charts can
be sorted by any property. Default is by value,
null sortKey will leave data unsorted.
adds hours H option to selectedInterval