Added option to reverse link output order.