public void SortCustom(SortFuncADTArray sortfunc, Handle hndl = INVALID_HANDLE) { _base.Sort((dynamic x, dynamic y) => { return(sortfunc.Invoke(_base.IndexOf(x), _base.IndexOf(y), this, hndl)); }); }
/** * Custom sorts an ADT Array. You must pass in a comparison function. * * @param array Array Handle to sort * @param sortfunc Sort comparison function to use * @param hndl Optional Handle to pass through the comparison calls. */ public static void SortADTArrayCustom(object array, SortFuncADTArray sortfunc, object hndl = null) { throw new NotImplementedException(); }