create sortIncidents() for report-view controller

This function takes the array of incidents and divides it inot several
arrays grouping the incidents by fullID.

The original inciident array is left alone, although the objects in
the sorted array reference the same objects in the original array.