added figure order to figure output