# Bananas
Random facts about bananas: they’re yellow.
# Oranges
Objectively the best fruit.
# Apples
Granny smith are okay, the rest are terrible.
(Sorted by alphanumeric order would be)
# Apples
Granny smith are okay, the rest are terrible.
# Bananas
Random facts about bananas: they’re yellow.
# Oranges
Objectively the best fruit.
Anyone want to take a stab at it?
Note:
This might get weird if there is no empty line following last block, as the join doesn’t insert any line changes or blank lines. To fix that, you probably want to add code to strip all line changes at the end of each block, and then add required line changes (’/n’) with the join command.