"Align Rotation
Allows you to select multiple objects and align their rotation to the first object selected."
Align rotation aligns the rotation to a selected object, but not the first selected object. I don't know the rule for which object it chooses to align the rotation to.