Use sort_by in PrettyListing