Try searching "ok cancel" in Google image search, you'll see that the order varies quite a lot. There is no correct order. If there is such a thing as a "standard" it would be the way Windows does it (as it's most popular), which is the action button (OK) on the left, Cancel right.