Closed Deleplace closed 2 years ago
pig.AllLangs
is sorted when first loaded by pig.AllLanguages()
, which seems to point at a later accidental order modification, due to a lack of defensive copying.
Culprit: favoritesFirstWithOrder
alters its arguments, which happen to contain references to the global pig.AllLangs
.
It would be much nicer to have them (at least the blue ones) sorted by name.
https://programming-idioms.org/about#about-block-cheatsheets