reorder deps