Sort the reads, and create lists to be used in creating sorted .fastq files

def readlist(self):
        """Sort the reads, and create lists to be used in creating sorted .fastq files"""
        printtime('Sorting reads', self.start)
        # Create and start threads
        for i in range(self.cpus):
            # Send the threads to the appropriate destination function
            threads = Thread(target=self.listread, args=())
            # Set the daemon to true - something to do with thread management
            threads.setDaemon(True)
            # Start the threading
            threads.start()
        for sample in self.runmetadata.samples:
            self.listqueue.put(sample)
        self.listqueue.join()
        # Create
        self.fastqfilter()