diff --git a/lua/ltex-utils/table_utils.lua b/lua/ltex-utils/table_utils.lua index 168ab5d..b2270eb 100644 --- a/lua/ltex-utils/table_utils.lua +++ b/lua/ltex-utils/table_utils.lua @@ -49,6 +49,8 @@ function M.merge_lists_unique(list1, list2, changes) ---@type string[] local merged_list = vim.tbl_keys(unique_elements) + table.sort(merged_list) + return merged_list end