On Windows I can click & drag open windows on the taskbar to change their position, e.g. if I open Firefox then Okular (in that order), then drag Okular's name on the panel/taskbar to the left, it switches locations with Firefox, so it goes Okular --> Firefox.