Sort printable lists properly