Fix sort browser settings, fixes #5638