     len: (x: default_node_radius*4, y: default_node_radius*2)
 
   copyNodesFrom: (nc) ->
+    anims = nc.sortNodes( ((n1, n2) -> n2.value - n1.value), 1)
+    @addAnimations(anims)
     @nodes = [
       new ShannonFanoNode(nc.nodes, @shape, @defaultBBoxAt((x:100,y:100)), "") ]
 

    name: 'sort by weight',
    action: (c, t) ->
      console.log('sort by weight')
      c.sortNodes( ((n1, n2) -> n2.value - n1.value), t)
  },
  {
    name: 'Shannon-Fano',

    name: 'sort by weight',
    action: (c, t) ->
      console.log('sort by weight')
      c.addAnimations(c.sortNodes( ((n1, n2) -> n2.value - n1.value), t))
  },
  {
    name: 'automatic Huffman step',
