add subtitle to codes + sort codes correctly