The following mfsort commands takes all of the records from each of the four files, sorts them on the member's surname in ascending order and outputs the result to the relative file members.dat:
mfsort sort fields(7,15,ch,a) use north.dat use south.dat use east.dat use west.dat give members.dat org rl