Process history sorting