1. A computer-readable medium having computer-executable instructions for causing a computer to perform steps comprising: re-writing a complex data parallel operation to contain data parallel operations that introduce partitioning and merging; processing each resulting partition in parallel; establishing logical order information during the execution of data parallel operations; and merging data back into one output stream using a final merge process that is operable to preserve a desired logical ordering.