keys now print in alpahbetical order for a specific document