Question about Spring4d

Question about Spring4d
why is the comparer in TListBase const?
procedure Sort(const comparer: IComparer); overload; virtual; abstract;

there is now a problem with a call like
List.sort(TDelegatedComparer.Create(mySort));
These will leak memory

Comments