Added particle reordering option for testing