Sorting related posts

This avoids fake differences when compiling on different machines. See commit message.