Correction of sort(...) and partition(...)
Modifying genericUtil.c for making it work with raw types
Modification of sorting algorithm (insertion sort for length < 10 elements)