Refs #4856 Add sort x axis to allow natural ordering.
Refs #4856 Fix off by one bug.
Refs #4658 Fix order of tabs.