swap command order