rearrange Network class
reorder Network class