Sorting structured data in a unstructured way using memcmp-friendly encoding | Dark Hacker News