diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 9b7f4db..06cdfd3 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -31,6 +31,7 @@ export default { 'Strings': { 'fix_ru_en_keyboard': 'Fix ru-en keyboard', 'str_length': 'Str length', + 'str_sort_lines': 'Str sort lines', 'str_to_lower_upper': 'Str to lower/upper', 'str_remove_duplicate_lines': 'Str remove duplicate lines', }, diff --git a/src/router/index.js b/src/router/index.js index 78751cd..07c1359 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -20,6 +20,11 @@ const router = createRouter({ name: 'str_length', component: () => import('../views/StrLength.vue'), }, + { + path: '/str_sort_lines', + name: 'str_sort_lines', + component: () => import('../views/StrSortLines.vue'), + }, { path: '/str_to_lower_upper', name: 'str_to_lower_upper', diff --git a/src/views/StrSortLines.vue b/src/views/StrSortLines.vue new file mode 100644 index 0000000..3db9b64 --- /dev/null +++ b/src/views/StrSortLines.vue @@ -0,0 +1,84 @@ + + Str sort lines + + + + Data + + + + + Mode + + + alphabetically + numerically + by length + random + + reverse + + + + + + + Result + + + + + + + \ No newline at end of file