Adds printing and sorting methods