Depending on which spell you'd rather have happen instead of the other if possible, the following should work (switch them if you want other priority)

/cast [help,dead] Raise Ally, [dead] Raise Dead, [] Raise dead

noharm and help mean the same thing, as in not harm, the last part is if you want it to work without a target.