fixed bug where hierarchy backwards compatibility code would display
attributes out of order.

Change-Id: I3d5f966a2d4a15848fb0fe98fa8212baab80ed26