How's Z-Order these days?

Under Mac, I do not know how to set z-order at run time.

Under Windows, it is easier to do BringWindowToTop.
with https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-bringwindowtotop

@Dale_Arends posted the declare here: Bring application to Front - #6 by Dale_Arends