I'm making a cities.txt file for use with the IPTC Template "City" field. I'd like the cities to appear sorted by country and then alphabetically. Taking a cue from Structured Keyword Lists, I hoped that placing countries in square brackets would turn them into categories and that associated cities would appear under each category alphabetically. As can be seen below, this didn't work, even when I used both square brackets and a tab.
In PM, square brackets just group the countries at the end of the list. I tried using a % symbol, a // and <!-- -->, but these just grouped the countries at the beginning of the list instead of at the end
I'm hoping that I've simply missed the syntax for ordering items in IPTC lists. As a practical matter, this isn't a big deal for "City". However, "City" isn't the only IPTC list that I'd like to order in a way that isn't strictly alphabetical, and an inability to organise sorting in some other cases will be an annoyance. I'm also happy to use the Apple spreadsheet app Numbers if that would make doing this simpler. If there's a set of rules for the syntax of these lists, it would also be great to know where they are.