Problem 8
Sort folder list for proper output order
Problems 9 and 10