A method, system and computer program for processing print data provides that the print data is normalized, or converted, from a first format to a second normalized format, The print data stream in the normalized format is indexed and the indexed data stream is sorted by a predetermined sort parameter. The sorted print data stream is then outputted.