Evolution of Order and Chaos