Gantt : sort issues by start date instead of id.
Fix some gantt issue on saving.
Refactor code to make it "cleaner".