tools/sort-dictionary: helper tool for sorting Cainteoir dictionary entries