This article is within the scope of WikiProject Lists, an attempt to structure and organize all list pages on Wikipedia. If you wish to help, please visit the project page, where you can join the project and/or contribute to the discussion.ListsWikipedia:WikiProject ListsTemplate:WikiProject ListsList
This article is within the scope of WikiProject Politics of the United Kingdom, a collaborative effort to improve the coverage of Politics of the United Kingdom on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Politics of the United KingdomWikipedia:WikiProject Politics of the United KingdomTemplate:WikiProject Politics of the United KingdomPolitics of the United Kingdom
This article is within the scope of WikiProject Wales, a collaborative effort to improve the coverage of Wales on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.WalesWikipedia:WikiProject WalesTemplate:WikiProject WalesWales
When I sort the list by party, four Labour MPs are sorted between Independent and Plaid Cymru, while the rest are at the end of the list. It seems that this is happening because although the party displayed is "Labour", the underlying party is "Labour Co-operative" for the four and "Welsh Labour" for the others. Is there a way to fix this, perhaps by defining a specific field for sorting?
STeamTraen (talk) 12:42, 28 April 2022 (UTC)[reply]
@STeamTraen: Another issue on top of that "Conservative" appears out of alphabetical order, after "Plaid Cymru" – i.e., as "Welsh Conservatives". That there are two separate issues with the sorting makes me think that the answer isn't to fix individual instances of {{Party name with colour}}, but rather to change the template itself so that it always sorts by the visible text. I'll raise this at Template talk:Party name with color. Ham II (talk) 14:59, 2 May 2022 (UTC)[reply]