Subject Re: [firebird-support] Interbase 7 Server crashes
Author Paul Beach
From the 7.1 Release Notes:

153053 [duplicate bugs] Large merge sorts no longer cause server crash.

I guess you need 7.1 or Firebird.

Regards
Paul