Added to custom sort function the second parameter the row data. Fix for grouping if there is no data and repeatitems is true. Fix in addLocalData we replace the sortname with the parameter sortname and not with the name from colModel. This allow us to define a sortindex as function - thanks to Oleg.
Added to custom sort function the second parameter the row data. Fix for grouping if there is no data and repeatitems is true. Fix in addLocalData we replace the sortname with the parameter sortname and not with the name from colModel. This allow us to define a sortindex as function - thanks to Oleg.

javapark/jqgrid