I am designing an "OK/Cancel" button group on a modal hence this button group is right-aligned. Since this is the case I have placed the main action button "OK" on the right, and the secondary action button "Cancel" on the left.
On other pages these button groups are left aligned hence the main action "OK" button is on the left.
My colleague argues that "we should be consistent with our button order" regardless of the positioning of the button group.
What should be the best practices concerning this situation?
Thanks in advance!