For both functions str_line_sort and dict_line_sort ...
Following relocation of the code that calls them (see https://github.com/SciTools/iris-code-generators/pull/1/files#r5532966, below), these utils are only used in the mappings module 
-- move them there + make them private