sort arrows