Ordering key in objects for printing