We all know that entropy is the measure of chaos in the system, and it's always increasing in the system.
Now comes my question - how does entropy work in smart materials? Here is a youtube video about smart material that I'm talking about, it remembers its shape - you can distort it, but when you heat it, it returns back to its original shape. So effectively it reverses from more chaotic state to a more uniform state:
http://www.youtube.com/watch?v=fsBHF_j2FJ4
Therefore my question - how come the system became less chaotic just by adding heat? It looks like entropy decreased, but the 2nd law of thermodynamics says that entropy can only increase.