The fix IDEA-94927 is partly narrowed to the particular jdk7 issue. A tiny refactoring has done.
IDEA-105416 Open Tabs are Reordered Upon (Re-) Opening a Project [cdr]
IDEA-105416 Open Tabs are Reordered Upon (Re-) Opening a Project: tested