modified screen_duplicates_PE to process in alphabet order