Added print_in_order().

Not sure if it actually works.