Reversed sort order and made changes of printing