Reorder shell commands