HUE-2495 [oozie] Improve dashboards sorting mechanism

Fixed bugs on the sorter algo
Added sorting functionality to the dashboard pages