in reply to Re: Re: sorting large data
in thread sorting large data

Well, if don't have access to GNU sort, you can always try one of the many other implementations of Unix sort.... ;-).

Anyway, you would do as Unix sort would do. Split up the data in sizes that you can swallow (how much that is depends from system to system). Sort that, and store it in a temporary file. Now you have a bunch of sorted files - and you have to merge them. You even might have to do this recursively.

Read Knuth if you want to know everything about merge sort.

Abigail

Replies are listed 'Best First'.
Re: Re: sorting large data
by simeon2000 (Monk) on Jul 23, 2002 at 16:51 UTC
    Short of going out and buying books (with a limited cash supply), is there anywhere on the web with this sort of information?