What I would like to do is iterate through the file sorting on the ZIP field, evenly distributing the records through out the file.
Example if my file contains the following quantities of zip codes.
QTY ZIP
3 98765
2 12345
2 78934
Then my file would be sorted somewhat like the following.
98765
12345
78934
98765
12345
78934
98765
Ultimately trying to produce an even distribution of zip codes through out the file.
I have the basic code written to open a file handle and read the data in to an array, but after that, I am relying on the good natured folks of this forum for some direction.
- FL
Example if my file contains the following quantities of zip codes.
QTY ZIP
3 98765
2 12345
2 78934
Then my file would be sorted somewhat like the following.
98765
12345
78934
98765
12345
78934
98765
Ultimately trying to produce an even distribution of zip codes through out the file.
I have the basic code written to open a file handle and read the data in to an array, but after that, I am relying on the good natured folks of this forum for some direction.
- FL