reorder actions execution