Formatted and sorted output