However minor the Sonderbundskrieg seems to be when compared with other European riots and wars in the 19th century , it nevertheless had a major impact on both the psychology and the society of the Swiss and of Switzerland .