correct order of active tabs