If I understand databases, each record has a system generated ID. Perhaps the data is ordered using that when it is downloaded by PGC. Then, PGC queries based on certain parameters.
OK, not being an IT expert, please don't laugh too hard regarding my response. Thanks.