By default, any opened app or window will be to the right of all pinned apps on the taskbar unless it is a pinned app, then it will show opened wherever the pinned app is already at on the taskbar.
If you like, you are also able to drag the pinned apps in any arrangement on the taskbar though.