ManageIQ/manageiq — pull request #766 by h-kataria (2014-10-02 21:20:52+00:00)
Title: added a line od code to sort charts by their title.

Need to sort charts by title so when viewing comparison charts side-by-side they line up and show same type of charts in front of each other. This also fixes an issue where different types were being shown when trying to zoom in a chart in side-by-side comparison.

https://bugzilla.redhat.com/show_bug.cgi?id=1138449

@dclarizio please review/test.

screenshots attached for before/after fix:

Before:
side-by-side comaprison of VM and Parent Host
![non-sorted_comparison_charts](https://cloud.githubusercontent.com/assets/3450808/4498563/a6174616-4a79-11e4-85ff-1f8a5695e6ea.png)

zoomed in chart of VM and Parent Host
![non_sorted_zoomed_in_comparison_charts](https://cloud.githubusercontent.com/assets/3450808/4498566/adc8207e-4a79-11e4-8ff5-6e9bc30c90ef.png)

After:
side-by-side comaprison of VM and Parent Host
![sorted_comparison_charts](https://cloud.githubusercontent.com/assets/3450808/4498571/b59ec898-4a79-11e4-93f2-e7831d077477.png)

zoomed in chart of VM and Parent Host
![sorted_zoomed_in_comparison_charts](https://cloud.githubusercontent.com/assets/3450808/4498573/ba5a44d4-4a79-11e4-83be-29ba783fd9ba.png)