reorder arrow functions