I have a python script which creates a csv file using following method
Code:
def printOutInformation(self):
if self.orderby == 'r':
self.iplist.sort(cmp=self.RealtimeComparison)
elif self.orderby == 'p':
self.iplist.sort(cmp=self.ProcessingtimeComparison)
# by default the order will just be the order that the IPs were in the reasoning