in reply to data dump and sort

  1. Obviously, your use of the code-tag didn't work. Didn't the preview show you that?
  2. Since most of us don't have access to a Cisco router, it would be best if you included the output that you're getting vs what you're expecting
  3. Are you really asking 'how do I sort this?' It doesn't look like your code tries to sort anything