Simple external sort implementation on F#