
## get_TasksComparer {#get_taskscomparer}

Gets the comparer to sort tasks on Gantt chart and Task Sheet chart.

**Returns:** const System::SharedPtr<System::Collections::Generic::IComparer<System::SharedPtr< Task > > >& Aspose::Tasks::Saving::

```cpp
get_TasksComparer()
```

