This is one thing that the original Lisa and MacOS got right (and NeXTstep, and GEM and I think AmigaOS) but W95 and its successors did not. The close button was on the far left, and the other actions on the right.
(EDIT: my recollection was wrong about the Lisa, I think. Its window controls were not as clear as Mac OS)
Unfortunately OS X inexplicably adopted the W95 conventions. And in the first Aqua releases made it even worse by hiding the functionality icons until mouse-over.