{"id":34,"date":"2026-10-25T07:30:45","date_gmt":"2026-10-25T07:30:45","guid":{"rendered":"https:\/\/tools.phledu.com\/blog\/?p=34"},"modified":"2026-10-30T12:44:33","modified_gmt":"2026-10-30T12:44:33","slug":"line-sorter-guide","status":"publish","type":"post","link":"https:\/\/tools.phledu.com\/blog\/line-sorter-guide\/","title":{"rendered":"Sort Lines Alphabetically Online: Complete Line Sorter Guide"},"content":{"rendered":"\n<!-- line-sorter-guide | paste into a Custom HTML block. The theme prints the post title as H1. -->\n<div class=\"phl-en\"><p class=\"lead-p\">Want to <strong>sort lines alphabetically<\/strong> without opening a spreadsheet? Paste your list into the free PHL Tools Line Sorter and choose A to Z, Z to A, shortest or longest first, or sort by the first number on each line. This complete guide explains all eight sort orders, natural sorting (so \u201citem 2\u201d comes before \u201citem 10\u201d), case handling, blank lines and the buttons, with real examples. The sort is stable and runs in your browser, so your list is never uploaded.<\/p><nav class=\"toc\" aria-label=\"Contents\"><strong>In this guide<\/strong><ol><li><a href=\"#en-what-the-line-sorter-does\">What the Line Sorter Does<\/a><\/li><li><a href=\"#en-step-by-step-sort-a-list\">Step by Step: Sort a List<\/a><\/li><li><a href=\"#en-the-six-sort-orders\">The Six Sort Orders<\/a><\/li><li><a href=\"#en-natural-sorting-item-2-before-item-10\">Natural Sorting: item 2 Before item 10<\/a><\/li><li><a href=\"#en-sorting-by-number\">Sorting by Number<\/a><\/li><li><a href=\"#en-sorting-by-length\">Sorting by Length<\/a><\/li><li><a href=\"#en-options-ignore-case-and-blank-lines\">Options: Ignore Case and Blank Lines<\/a><\/li><li><a href=\"#en-the-buttons\">The Buttons<\/a><\/li><li><a href=\"#en-real-life-uses\">Real-Life Uses<\/a><\/li><li><a href=\"#en-tips-and-limits\">Tips and Limits<\/a><\/li><li><a href=\"#en-reverse-order-and-random-shuffle\">Reverse Order and Random Shuffle<\/a><\/li><\/ol><\/nav><h2 id=\"en-what-the-line-sorter-does\">What the Line Sorter Does<\/h2><p>The Line Sorter takes a list with <strong>one item per line<\/strong> and puts the lines in the order you choose. It is perfect for names, keywords, file names, tasks, prices and any list that is easier to use when it is in order.<\/p><p>The sort is <strong>stable<\/strong>: when two lines count as equal, they keep the order they had. So nothing is shuffled by accident.<\/p><h2 id=\"en-step-by-step-sort-a-list\">Step by Step: Sort a List<\/h2><ol><li>Open the <a href=\"https:\/\/tools.phledu.com\/line-sorter\/\">Line Sorter<\/a>.<\/li><li>Paste your list into <strong>Your lines<\/strong>, one item per line.<\/li><li>Choose a <strong>Sort order<\/strong>. The result appears at once in <strong>Sorted lines<\/strong>.<\/li><li>Adjust the options if you need them: ignore case, natural sorting and blank lines.<\/li><li>Press <strong>Copy result<\/strong> or <strong>Download .txt<\/strong>.<\/li><\/ol><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-1.webp\" alt=\"Line sorter with A to Z selected sorting a list of fruit names\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>A to Z sorting. Capital letters do not change the order because case is ignored by default.<\/figcaption><\/figure><div class=\"ex\"><div><b>Example<\/b><pre>pear\nApple\nmango\nbanana\ncherry<\/pre><\/div><div><b>Result<\/b><pre>Apple\nbanana\ncherry\nmango\npear<\/pre><\/div><\/div><h2 id=\"en-the-six-sort-orders\">The Six Sort Orders<\/h2><div class=\"tw\"><table><thead><tr><th>Sort order<\/th><th>What it does<\/th><th>Good for<\/th><\/tr><\/thead><tbody><tr><td>A to Z<\/td><td>Alphabetical order<\/td><td>names, keywords, glossaries<\/td><\/tr><tr><td>Z to A<\/td><td>Reverse alphabetical<\/td><td>reverse lists<\/td><\/tr><tr><td>Shortest first<\/td><td>By number of characters, shortest at the top<\/td><td>finding short titles<\/td><\/tr><tr><td>Longest first<\/td><td>By number of characters, longest at the top<\/td><td>finding titles that are too long<\/td><\/tr><tr><td>Number, low to high<\/td><td>By the first number on each line<\/td><td>prices, scores, years<\/td><\/tr><tr><td>Number, high to low<\/td><td>The same, largest first<\/td><td>rankings, top sellers<\/td><\/tr><\/tbody><\/table><\/div><p>Alphabetical order follows your browser\u2019s language rules, so accented letters sit next to their base letters. Length counts characters, not bytes.<\/p><h2 id=\"en-natural-sorting-item-2-before-item-10\">Natural Sorting: item 2 Before item 10<\/h2><p>A plain alphabetical sort compares text character by character, so <em>chapter 10<\/em> comes before <em>chapter 2<\/em> because \u201c1\u201d is smaller than \u201c2\u201d. That is rarely what a person wants. Tick <strong>Natural sorting<\/strong> and numbers inside text are compared as whole numbers.<\/p><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-2.webp\" alt=\"Line sorter with Natural sorting ticked putting chapter 2 before chapter 10\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>Natural sorting puts chapter 2 before chapter 10.<\/figcaption><\/figure><div class=\"ex\"><div><b>Example<\/b><pre>chapter 10\nchapter 2\nchapter 1\nchapter 21<\/pre><\/div><div><b>Result<\/b><pre>Without natural sorting:\nchapter 1\nchapter 10\nchapter 2\nchapter 21\n\nWith natural sorting:\nchapter 1\nchapter 2\nchapter 10\nchapter 21<\/pre><\/div><\/div><p>Use it for file names, chapters, lesson numbers, episodes and versions.<\/p><h2 id=\"en-sorting-by-number\">Sorting by Number<\/h2><p>Choose <strong>Number, low to high<\/strong> or <strong>Number, high to low<\/strong> to sort by the first number found on each line. Commas used as thousands separators are understood, so <em>1,200<\/em> is read as 1200.<\/p><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-3.webp\" alt=\"Line sorter with Number low to high sorting prices\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>Number sorting reads the first number on each line.<\/figcaption><\/figure><div class=\"ex\"><div><b>Example<\/b><pre>Notebook 1,200\nPen 45\nBag 3,500\nRuler 20<\/pre><\/div><div><b>Result<\/b><pre>Ruler 20\nPen 45\nNotebook 1,200\nBag 3,500<\/pre><\/div><\/div><p>Lines that contain no number are placed after the numbered lines, in alphabetical order.<\/p><h2 id=\"en-sorting-by-length\">Sorting by Length<\/h2><p>Choose <strong>Shortest first<\/strong> or <strong>Longest first<\/strong> to sort by the number of characters in each line. This is a quick way to find titles that may be too long for a headline or meta title.<\/p><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-4.webp\" alt=\"Line sorter with Longest first sorting titles by length\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>Longest first puts the longest line at the top.<\/figcaption><\/figure><div class=\"ex\"><div><b>Example<\/b><pre>Learn English fast\nHi\nSimple tips for writing better\nPractice daily<\/pre><\/div><div><b>Result<\/b><pre>Simple tips for writing better\nLearn English fast\nPractice daily\nHi<\/pre><\/div><\/div><h2 id=\"en-options-ignore-case-and-blank-lines\">Options: Ignore Case and Blank Lines<\/h2><ul><li><strong>Ignore upper and lower case:<\/strong> on by default. <em>apple<\/em> and <em>Apple<\/em> sort together. Untick it to sort capital letters separately. It applies to A to Z and Z to A.<\/li><li><strong>Natural sorting:<\/strong> off by default. Tick it when your lines contain numbers.<\/li><li><strong>Blank lines:<\/strong> choose <em>Sort them with the other lines<\/em> (blank lines go to the top), <em>Remove them<\/em>, or <em>Move them to the end<\/em>. Lines containing only spaces count as blank.<\/li><\/ul><h2 id=\"en-the-buttons\">The Buttons<\/h2><ul><li><strong>Copy result:<\/strong> copies the sorted list (Ctrl + Enter, or Cmd + Enter on Mac).<\/li><li><strong>Select result:<\/strong> highlights the output.<\/li><li><strong>Download .txt:<\/strong> saves the list as a text file.<\/li><li><strong>Use result as input:<\/strong> moves the sorted list into the input so you can sort it again another way, for example by length after sorting A to Z.<\/li><li><strong>Paste<\/strong>, <strong>Try an example<\/strong> and <strong>Clear all<\/strong> work as in the other PHL Tools.<\/li><\/ul><h2 id=\"en-real-life-uses\">Real-Life Uses<\/h2><ul><li><strong>SEO:<\/strong> alphabetise a keyword list after removing repeats with the <a href=\"https:\/\/tools.phledu.com\/duplicate-line-remover\/\">Duplicate Line Remover<\/a>.<\/li><li><strong>Students and teachers:<\/strong> order name lists and vocabulary lists.<\/li><li><strong>Shops:<\/strong> sort items by price.<\/li><li><strong>Writers:<\/strong> find the longest and shortest titles in a content plan.<\/li><\/ul><h2 id=\"en-tips-and-limits\">Tips and Limits<\/h2><ul><li>Use <strong>one item per line<\/strong>. Comma-separated lists must be split into lines first.<\/li><li>Different browsers can order unusual characters slightly differently, including some Urdu characters, so check important lists.<\/li><li>Your list stays in your browser and is not uploaded.<\/li><\/ul><h2 id=\"en-reverse-order-and-random-shuffle\">Reverse Order and Random Shuffle<\/h2><p>Besides the six classic orders, the tool has two more choices:<\/p><ul><li><strong>Reverse order<\/strong> flips the list upside down: the last line becomes the first. It does not sort anything, so it is useful for turning a newest-last list into newest-first.<\/li><li><strong>Random shuffle<\/strong> puts the lines in a random order each time you choose it. Use it for draw lists, quiz questions or fair ordering. The shuffle is not meant for security uses such as passwords.<\/li><\/ul><p>Blank-line handling and the other options still apply.<\/p><h2 id=\"en-faq\">FAQ<\/h2><details><summary>How do I sort lines alphabetically online?<\/summary><p>Paste your list with one item per line, choose A to Z and copy the sorted list from the result box.<\/p><\/details><details><summary>What is natural sorting?<\/summary><p>It reads numbers inside text as whole numbers, so item 2 comes before item 10 instead of after it.<\/p><\/details><details><summary>Does capitalisation change the order?<\/summary><p>Not by default, because Ignore upper and lower case is on. Untick it to sort capital letters separately.<\/p><\/details><details><summary>What happens to blank lines?<\/summary><p>You choose: sort them with other lines (they go to the top), remove them, or move them to the end.<\/p><\/details><details><summary>Is the sort stable?<\/summary><p>Yes. Lines that compare as equal keep the order they had.<\/p><\/details><h2 id=\"en-related\">Related tool guides<\/h2><p class=\"rel\"><a href=\"https:\/\/tools.phledu.com\/blog\/duplicate-line-remover-guide\/\">Duplicate Line Remover<\/a><a href=\"https:\/\/tools.phledu.com\/blog\/text-reverser-guide\/\">Text Reverser<\/a><a href=\"https:\/\/tools.phledu.com\/blog\/word-counter-guide\/\">Word Counter<\/a><\/p><\/div>\n<div class=\"phl-ur\" lang=\"ur\" dir=\"rtl\"><p class=\"lead-p\">\u06a9\u06cc\u0627 \u0622\u067e \u0627\u0633\u067e\u0631\u06cc\u0688 \u0634\u06cc\u0679 \u06a9\u06be\u0648\u0644\u06d2 \u0628\u063a\u06cc\u0631 <strong>\u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0648 \u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642 \u062a\u0631\u062a\u06cc\u0628<\/strong> \u062f\u06cc\u0646\u0627 \u0686\u0627\u06c1\u062a\u06d2 \u06c1\u06cc\u06ba\u061f \u0641\u06c1\u0631\u0633\u062a PHL Tools \u06a9\u06d2 \u0645\u0641\u062a \u0644\u0627\u0626\u0646 \u0633\u0648\u0631\u0679\u0631 \u0645\u06cc\u06ba \u067e\u06cc\u0633\u0679 \u06a9\u0631\u06cc\u06ba \u0627\u0648\u0631 A \u0633\u06d2 Z\u060c Z \u0633\u06d2 A\u060c \u0686\u06be\u0648\u0679\u06cc \u06cc\u0627 \u0644\u0645\u0628\u06cc \u0644\u0627\u0626\u0646 \u067e\u06c1\u0644\u06d2\u060c \u06cc\u0627 \u06c1\u0631 \u0644\u0627\u0626\u0646 \u06a9\u06d2 \u067e\u06c1\u0644\u06d2 \u0646\u0645\u0628\u0631 \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642 \u062a\u0631\u062a\u06cc\u0628 \u0686\u0646\u06cc\u06ba\u06d4 \u0627\u0633 \u0645\u06a9\u0645\u0644 \u06af\u0627\u0626\u06cc\u0688 \u0645\u06cc\u06ba \u0622\u0679\u06be \u062a\u0631\u062a\u06cc\u0628\u06cc\u06ba\u060c \u0646\u06cc\u0686\u0631\u0644 \u0633\u0648\u0631\u0679\u0646\u06af (\u062a\u0627\u06a9\u06c1 \u201citem 2\u201d \u201citem 10\u201d \u0633\u06d2 \u067e\u06c1\u0644\u06d2 \u0622\u0626\u06d2)\u060c \u06a9\u06cc\u0633 \u06a9\u0627 \u0645\u0639\u0627\u0645\u0644\u06c1\u060c \u062e\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u06cc\u06ba \u0627\u0648\u0631 \u0628\u0679\u0646 \u062d\u0642\u06cc\u0642\u06cc \u0645\u062b\u0627\u0644\u0648\u06ba \u06a9\u06d2 \u0633\u0627\u062a\u06be \u0633\u0645\u062c\u06be\u0627\u0626\u06d2 \u06af\u0626\u06d2 \u06c1\u06cc\u06ba\u06d4 \u062a\u0631\u062a\u06cc\u0628 \u0645\u0633\u062a\u062d\u06a9\u0645 \u06c1\u06d2 \u0627\u0648\u0631 \u0628\u0631\u0627\u0624\u0632\u0631 \u0645\u06cc\u06ba \u0686\u0644\u062a\u06cc \u06c1\u06d2\u060c \u0627\u0633 \u0644\u06cc\u06d2 \u0641\u06c1\u0631\u0633\u062a \u0627\u067e\u0644\u0648\u0688 \u0646\u06c1\u06cc\u06ba \u06c1\u0648\u062a\u06cc\u06d4<\/p><nav class=\"toc\" aria-label=\"Contents\"><strong>\u0627\u0633 \u06af\u0627\u0626\u06cc\u0688 \u0645\u06cc\u06ba<\/strong><ol><li><a href=\"#ur-what-the-line-sorter-does\">What the Line Sorter Does<\/a><\/li><li><a href=\"#ur-step-by-step-sort-a-list\">Step by Step: Sort a List<\/a><\/li><li><a href=\"#ur-the-six-sort-orders\">The Six Sort Orders<\/a><\/li><li><a href=\"#ur-natural-sorting-item-2-before-item-10\">Natural Sorting: item 2 Before item 10<\/a><\/li><li><a href=\"#ur-sorting-by-number\">Sorting by Number<\/a><\/li><li><a href=\"#ur-sorting-by-length\">Sorting by Length<\/a><\/li><li><a href=\"#ur-options-ignore-case-and-blank-lines\">Options: Ignore Case and Blank Lines<\/a><\/li><li><a href=\"#ur-the-buttons\">The Buttons<\/a><\/li><li><a href=\"#ur-real-life-uses\">Real-Life Uses<\/a><\/li><li><a href=\"#ur-tips-and-limits\">Tips and Limits<\/a><\/li><li><a href=\"#ur-reverse-order-and-random-shuffle\">Reverse Order and Random Shuffle<\/a><\/li><\/ol><\/nav><h2 id=\"ur-what-the-line-sorter-does\">What the Line Sorter Does<\/h2><p>\u0644\u0627\u0626\u0646 \u0633\u0648\u0631\u0679\u0631 <strong>\u0627\u06cc\u06a9 \u0622\u0626\u0679\u0645 \u0641\u06cc \u0644\u0627\u0626\u0646<\/strong> \u0648\u0627\u0644\u06cc \u0641\u06c1\u0631\u0633\u062a \u0644\u06cc\u062a\u0627 \u06c1\u06d2 \u0627\u0648\u0631 \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0648 \u0622\u067e \u06a9\u06cc \u0686\u0646\u06cc \u06c1\u0648\u0626\u06cc \u062a\u0631\u062a\u06cc\u0628 \u0645\u06cc\u06ba \u0631\u06a9\u06be \u062f\u06cc\u062a\u0627 \u06c1\u06d2\u06d4 \u06cc\u06c1 \u0646\u0627\u0645\u0648\u06ba\u060c \u06a9\u06cc \u0648\u0631\u0688\u0632\u060c \u0641\u0627\u0626\u0644 \u06a9\u06d2 \u0646\u0627\u0645\u0648\u06ba\u060c \u06a9\u0627\u0645\u0648\u06ba\u060c \u0642\u06cc\u0645\u062a\u0648\u06ba \u0627\u0648\u0631 \u06c1\u0631 \u0627\u0633 \u0641\u06c1\u0631\u0633\u062a \u06a9\u06d2 \u0644\u06cc\u06d2 \u0628\u06c1\u062a\u0631\u06cc\u0646 \u06c1\u06d2 \u062c\u0648 \u062a\u0631\u062a\u06cc\u0628 \u0645\u06cc\u06ba \u06c1\u0648 \u062a\u0648 \u0627\u0633\u062a\u0639\u0645\u0627\u0644 \u0622\u0633\u0627\u0646 \u06c1\u0648\u062a\u06cc \u06c1\u06d2\u06d4<\/p><p>\u062a\u0631\u062a\u06cc\u0628 <strong>\u0645\u0633\u062a\u062d\u06a9\u0645<\/strong> \u06c1\u06d2: \u062c\u0628 \u062f\u0648 \u0644\u0627\u0626\u0646\u06cc\u06ba \u0628\u0631\u0627\u0628\u0631 \u0634\u0645\u0627\u0631 \u06c1\u0648\u06ba \u062a\u0648 \u0648\u06c1 \u0627\u067e\u0646\u06cc \u067e\u06c1\u0644\u06d2 \u0648\u0627\u0644\u06cc \u062a\u0631\u062a\u06cc\u0628 \u0631\u06a9\u06be\u062a\u06cc \u06c1\u06cc\u06ba\u06d4 \u06cc\u0648\u06ba \u06a9\u0686\u06be \u063a\u0644\u0637\u06cc \u0633\u06d2 \u0628\u06a9\u06be\u0631\u062a\u0627 \u0646\u06c1\u06cc\u06ba\u06d4<\/p><h2 id=\"ur-step-by-step-sort-a-list\">Step by Step: Sort a List<\/h2><ol><li><a href=\"https:\/\/tools.phledu.com\/line-sorter\/\">\u0644\u0627\u0626\u0646 \u0633\u0648\u0631\u0679\u0631<\/a> \u06a9\u06be\u0648\u0644\u06cc\u06ba\u06d4<\/li><li>\u0641\u06c1\u0631\u0633\u062a <strong>Your lines<\/strong> \u0645\u06cc\u06ba \u067e\u06cc\u0633\u0679 \u06a9\u0631\u06cc\u06ba\u060c \u0627\u06cc\u06a9 \u0622\u0626\u0679\u0645 \u0641\u06cc \u0644\u0627\u0626\u0646\u06d4<\/li><li><strong>Sort order<\/strong> \u0686\u0646\u06cc\u06ba\u06d4 \u0646\u062a\u06cc\u062c\u06c1 <strong>Sorted lines<\/strong> \u0645\u06cc\u06ba \u0641\u0648\u0631\u0627\u064b \u0622 \u062c\u0627\u062a\u0627 \u06c1\u06d2\u06d4<\/li><li>\u0636\u0631\u0648\u0631\u062a \u06c1\u0648 \u062a\u0648 \u0622\u067e\u0634\u0646\u0632 \u0628\u062f\u0644\u06cc\u06ba: \u06a9\u06cc\u0633 \u0646\u0638\u0631\u0627\u0646\u062f\u0627\u0632\u060c \u0646\u06cc\u0686\u0631\u0644 \u0633\u0648\u0631\u0679\u0646\u06af \u0627\u0648\u0631 \u062e\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u06cc\u06ba\u06d4<\/li><li><strong>Copy result<\/strong> \u06cc\u0627 <strong>Download .txt<\/strong> \u062f\u0628\u0627\u0626\u06cc\u06ba\u06d4<\/li><\/ol><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-1.webp\" alt=\"Line sorter with A to Z selected sorting a list of fruit names\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>A \u0633\u06d2 Z \u062a\u0631\u062a\u06cc\u0628\u06d4 \u0688\u06cc\u0641\u0627\u0644\u0679 \u0637\u0648\u0631 \u067e\u0631 \u06a9\u06cc\u0633 \u0646\u0638\u0631\u0627\u0646\u062f\u0627\u0632 \u06c1\u0648\u062a\u0627 \u06c1\u06d2\u060c \u0627\u0633 \u0644\u06cc\u06d2 \u0628\u0691\u06d2 \u062d\u0631\u0648\u0641 \u062a\u0631\u062a\u06cc\u0628 \u0646\u06c1\u06cc\u06ba \u0628\u062f\u0644\u062a\u06d2\u06d4<\/figcaption><\/figure><div class=\"ex\"><div><b>\u0645\u062b\u0627\u0644<\/b><pre>pear\nApple\nmango\nbanana\ncherry<\/pre><\/div><div><b>\u0646\u062a\u06cc\u062c\u06c1<\/b><pre>Apple\nbanana\ncherry\nmango\npear<\/pre><\/div><\/div><h2 id=\"ur-the-six-sort-orders\">The Six Sort Orders<\/h2><div class=\"tw\"><table><thead><tr><th>\u062a\u0631\u062a\u06cc\u0628<\/th><th>\u06a9\u06cc\u0627 \u06a9\u0631\u062a\u06cc \u06c1\u06d2<\/th><th>\u06a9\u0633 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0627\u0686\u06be\u06cc<\/th><\/tr><\/thead><tbody><tr><td>A to Z<\/td><td>\u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642<\/td><td>\u0646\u0627\u0645\u060c \u06a9\u06cc \u0648\u0631\u0688\u0632\u060c \u0644\u063a\u062a<\/td><\/tr><tr><td>Z to A<\/td><td>\u0627\u0644\u0679\u06cc \u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc<\/td><td>\u0641\u06c1\u0631\u0633\u062a \u0627\u0644\u0679\u0646\u0627<\/td><\/tr><tr><td>Shortest first<\/td><td>\u062d\u0631\u0648\u0641 \u06a9\u06cc \u062a\u0639\u062f\u0627\u062f \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642\u060c \u0686\u06be\u0648\u0679\u06cc \u0627\u0648\u067e\u0631<\/td><td>\u0686\u06be\u0648\u0679\u06d2 \u0679\u0627\u0626\u0679\u0644 \u0688\u06be\u0648\u0646\u0688\u0646\u0627<\/td><\/tr><tr><td>Longest first<\/td><td>\u062d\u0631\u0648\u0641 \u06a9\u06cc \u062a\u0639\u062f\u0627\u062f \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642\u060c \u0644\u0645\u0628\u06cc \u0627\u0648\u067e\u0631<\/td><td>\u062d\u062f \u0633\u06d2 \u0644\u0645\u0628\u06d2 \u0679\u0627\u0626\u0679\u0644 \u0688\u06be\u0648\u0646\u0688\u0646\u0627<\/td><\/tr><tr><td>Number, low to high<\/td><td>\u06c1\u0631 \u0644\u0627\u0626\u0646 \u06a9\u06d2 \u067e\u06c1\u0644\u06d2 \u0646\u0645\u0628\u0631 \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642<\/td><td>\u0642\u06cc\u0645\u062a\u06cc\u06ba\u060c \u0627\u0633\u06a9\u0648\u0631\u060c \u0633\u0627\u0644<\/td><\/tr><tr><td>Number, high to low<\/td><td>\u0648\u06c1\u06cc\u060c \u0633\u0628 \u0633\u06d2 \u0628\u0691\u0627 \u067e\u06c1\u0644\u06d2<\/td><td>\u0631\u06cc\u0646\u06a9\u0646\u06af\u060c \u0632\u06cc\u0627\u062f\u06c1 \u0628\u06a9\u0646\u06d2 \u0648\u0627\u0644\u06cc \u0686\u06cc\u0632\u06cc\u06ba<\/td><\/tr><\/tbody><\/table><\/div><p>\u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06cc \u062a\u0631\u062a\u06cc\u0628 \u0622\u067e \u06a9\u06d2 \u0628\u0631\u0627\u0624\u0632\u0631 \u06a9\u06d2 \u0632\u0628\u0627\u0646 \u06a9\u06d2 \u0627\u0635\u0648\u0644\u0648\u06ba \u067e\u0631 \u0686\u0644\u062a\u06cc \u06c1\u06d2\u060c \u0627\u0633 \u0644\u06cc\u06d2 \u0627\u0639\u0631\u0627\u0628 \u0648\u0627\u0644\u06d2 \u062d\u0631\u0648\u0641 \u0627\u067e\u0646\u06d2 \u0628\u0646\u06cc\u0627\u062f\u06cc \u062d\u0631\u0641 \u06a9\u06d2 \u067e\u0627\u0633 \u0622\u062a\u06d2 \u06c1\u06cc\u06ba\u06d4 \u0644\u0645\u0628\u0627\u0626\u06cc \u062d\u0631\u0648\u0641 \u06af\u0646\u062a\u06cc \u06c1\u06d2\u060c \u0628\u0627\u0626\u0679\u0633 \u0646\u06c1\u06cc\u06ba\u06d4<\/p><h2 id=\"ur-natural-sorting-item-2-before-item-10\">Natural Sorting: item 2 Before item 10<\/h2><p>\u0639\u0627\u0645 \u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06cc \u062a\u0631\u062a\u06cc\u0628 \u0645\u062a\u0646 \u06a9\u0648 \u062d\u0631\u0641 \u0628\u06c1 \u062d\u0631\u0641 \u062c\u0627\u0646\u0686\u062a\u06cc \u06c1\u06d2\u060c \u0627\u0633 \u0644\u06cc\u06d2 <em>chapter 10<\/em> \u0622\u062a\u0627 \u06c1\u06d2 <em>chapter 2<\/em> \u0633\u06d2 \u067e\u06c1\u0644\u06d2 \u06a9\u06cc\u0648\u0646\u06a9\u06c1 \u201c1\u201d \u201c2\u201d \u0633\u06d2 \u0686\u06be\u0648\u0679\u0627 \u06c1\u06d2\u06d4 \u06cc\u06c1 \u0634\u0627\u0630 \u06c1\u06cc \u0648\u06c1 \u06c1\u06d2 \u062c\u0648 \u0627\u0646\u0633\u0627\u0646 \u0686\u0627\u06c1\u062a\u0627 \u06c1\u06d2\u06d4 <strong>Natural sorting<\/strong> \u0679\u06a9 \u06a9\u0631\u06cc\u06ba \u062a\u0648 \u0645\u062a\u0646 \u06a9\u06d2 \u0627\u0646\u062f\u0631 \u06a9\u06d2 \u0646\u0645\u0628\u0631 \u067e\u0648\u0631\u06d2 \u0646\u0645\u0628\u0631 \u06a9\u06d2 \u0637\u0648\u0631 \u067e\u0631 \u062c\u0627\u0646\u0686\u06d2 \u062c\u0627\u062a\u06d2 \u06c1\u06cc\u06ba\u06d4<\/p><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-2.webp\" alt=\"Line sorter with Natural sorting ticked putting chapter 2 before chapter 10\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>Natural sorting chapter 2 \u06a9\u0648 chapter 10 \u0633\u06d2 \u067e\u06c1\u0644\u06d2 \u0631\u06a9\u06be\u062a\u06cc \u06c1\u06d2\u06d4<\/figcaption><\/figure><div class=\"ex\"><div><b>\u0645\u062b\u0627\u0644<\/b><pre>chapter 10\nchapter 2\nchapter 1\nchapter 21<\/pre><\/div><div><b>\u0646\u062a\u06cc\u062c\u06c1<\/b><pre>\u0646\u06cc\u0686\u0631\u0644 \u0633\u0648\u0631\u0679\u0646\u06af \u06a9\u06d2 \u0628\u063a\u06cc\u0631:\nchapter 1\nchapter 10\nchapter 2\nchapter 21\n\n\u0646\u06cc\u0686\u0631\u0644 \u0633\u0648\u0631\u0679\u0646\u06af \u06a9\u06d2 \u0633\u0627\u062a\u06be:\nchapter 1\nchapter 2\nchapter 10\nchapter 21<\/pre><\/div><\/div><p>\u0641\u0627\u0626\u0644 \u06a9\u06d2 \u0646\u0627\u0645\u0648\u06ba\u060c \u0627\u0628\u0648\u0627\u0628\u060c \u0633\u0628\u0642 \u0646\u0645\u0628\u0631\u0648\u06ba\u060c \u0627\u0642\u0633\u0627\u0637 \u0627\u0648\u0631 \u0648\u0631\u0698\u0646\u0632 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0627\u0633\u062a\u0639\u0645\u0627\u0644 \u06a9\u0631\u06cc\u06ba\u06d4<\/p><h2 id=\"ur-sorting-by-number\">Sorting by Number<\/h2><p>\u06c1\u0631 \u0644\u0627\u0626\u0646 \u0645\u06cc\u06ba \u0645\u0644\u0646\u06d2 \u0648\u0627\u0644\u06d2 \u067e\u06c1\u0644\u06d2 \u0646\u0645\u0628\u0631 \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642 \u062a\u0631\u062a\u06cc\u0628 \u06a9\u06d2 \u0644\u06cc\u06d2 <strong>Number, low to high<\/strong> \u06cc\u0627 <strong>Number, high to low<\/strong> \u0686\u0646\u06cc\u06ba\u06d4 \u06c1\u0632\u0627\u0631\u0648\u06ba \u06a9\u06d2 \u0644\u06cc\u06d2 \u06a9\u0627\u0645\u0627 \u0633\u0645\u062c\u06be\u0627 \u062c\u0627\u062a\u0627 \u06c1\u06d2\u060c \u06cc\u0639\u0646\u06cc <em>1,200<\/em> \u06a9\u0648 1200 \u067e\u0691\u06be\u0627 \u062c\u0627\u062a\u0627 \u06c1\u06d2\u06d4<\/p><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-3.webp\" alt=\"Line sorter with Number low to high sorting prices\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>Number \u062a\u0631\u062a\u06cc\u0628 \u06c1\u0631 \u0644\u0627\u0626\u0646 \u06a9\u0627 \u067e\u06c1\u0644\u0627 \u0646\u0645\u0628\u0631 \u067e\u0691\u06be\u062a\u06cc \u06c1\u06d2\u06d4<\/figcaption><\/figure><div class=\"ex\"><div><b>\u0645\u062b\u0627\u0644<\/b><pre>Notebook 1,200\nPen 45\nBag 3,500\nRuler 20<\/pre><\/div><div><b>\u0646\u062a\u06cc\u062c\u06c1<\/b><pre>Ruler 20\nPen 45\nNotebook 1,200\nBag 3,500<\/pre><\/div><\/div><p>\u062c\u0646 \u0644\u0627\u0626\u0646\u0648\u06ba \u0645\u06cc\u06ba \u0646\u0645\u0628\u0631 \u0646\u06c1 \u06c1\u0648 \u0648\u06c1 \u0646\u0645\u0628\u0631 \u0648\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u06d2 \u0628\u0639\u062f \u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06cc \u062a\u0631\u062a\u06cc\u0628 \u0645\u06cc\u06ba \u0622\u062a\u06cc \u06c1\u06cc\u06ba\u06d4<\/p><h2 id=\"ur-sorting-by-length\">Sorting by Length<\/h2><p>\u06c1\u0631 \u0644\u0627\u0626\u0646 \u06a9\u06d2 \u062d\u0631\u0648\u0641 \u06a9\u06cc \u062a\u0639\u062f\u0627\u062f \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642 \u062a\u0631\u062a\u06cc\u0628 \u06a9\u06d2 \u0644\u06cc\u06d2 <strong>Shortest first<\/strong> \u06cc\u0627 <strong>Longest first<\/strong> \u0686\u0646\u06cc\u06ba\u06d4 \u06cc\u06c1 \u0627\u06cc\u0633\u06d2 \u0679\u0627\u0626\u0679\u0644 \u067e\u06a9\u0691\u0646\u06d2 \u06a9\u0627 \u062a\u06cc\u0632 \u0637\u0631\u06cc\u0642\u06c1 \u06c1\u06d2 \u062c\u0648 \u06c1\u06cc\u0688 \u0644\u0627\u0626\u0646 \u06cc\u0627 \u0645\u06cc\u0679\u0627 \u0679\u0627\u0626\u0679\u0644 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0628\u06c1\u062a \u0644\u0645\u0628\u06d2 \u06c1\u0648\u06ba\u06d4<\/p><figure><img decoding=\"async\" src=\"https:\/\/tools.phledu.com\/blog\/wp-content\/themes\/phl-tools-blog-child\/assets\/guide-img\/ls-4.webp\" alt=\"Line sorter with Longest first sorting titles by length\" width=\"880\" height=\"584\" loading=\"lazy\"><figcaption>Longest first \u0633\u0628 \u0633\u06d2 \u0644\u0645\u0628\u06cc \u0644\u0627\u0626\u0646 \u0627\u0648\u067e\u0631 \u0631\u06a9\u06be\u062a\u0627 \u06c1\u06d2\u06d4<\/figcaption><\/figure><div class=\"ex\"><div><b>\u0645\u062b\u0627\u0644<\/b><pre>Learn English fast\nHi\nSimple tips for writing better\nPractice daily<\/pre><\/div><div><b>\u0646\u062a\u06cc\u062c\u06c1<\/b><pre>Simple tips for writing better\nLearn English fast\nPractice daily\nHi<\/pre><\/div><\/div><h2 id=\"ur-options-ignore-case-and-blank-lines\">Options: Ignore Case and Blank Lines<\/h2><ul><li><strong>Ignore upper and lower case:<\/strong> \u0688\u06cc\u0641\u0627\u0644\u0679 \u0637\u0648\u0631 \u067e\u0631 \u0622\u0646\u06d4 <em>apple<\/em> \u0627\u0648\u0631 <em>Apple<\/em> \u0633\u0627\u062a\u06be \u062a\u0631\u062a\u06cc\u0628 \u067e\u0627\u062a\u06d2 \u06c1\u06cc\u06ba\u06d4 \u0628\u0691\u06d2 \u062d\u0631\u0648\u0641 \u0627\u0644\u06af \u062a\u0631\u062a\u06cc\u0628 \u062f\u06cc\u0646\u06d2 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0679\u06a9 \u06c1\u0679\u0627\u0626\u06cc\u06ba\u06d4 \u06cc\u06c1 A to Z \u0627\u0648\u0631 Z to A \u067e\u0631 \u0644\u0627\u06af\u0648 \u06c1\u0648\u062a\u0627 \u06c1\u06d2\u06d4<\/li><li><strong>Natural sorting:<\/strong> \u0688\u06cc\u0641\u0627\u0644\u0679 \u0637\u0648\u0631 \u067e\u0631 \u0628\u0646\u062f\u06d4 \u0644\u0627\u0626\u0646\u0648\u06ba \u0645\u06cc\u06ba \u0646\u0645\u0628\u0631 \u06c1\u0648\u06ba \u062a\u0648 \u0679\u06a9 \u06a9\u0631\u06cc\u06ba\u06d4<\/li><li><strong>Blank lines:<\/strong> <em>Sort them with the other lines<\/em> (\u062e\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u06cc\u06ba \u0627\u0648\u067e\u0631 \u062c\u0627\u062a\u06cc \u06c1\u06cc\u06ba)\u060c <em>Remove them<\/em> \u06cc\u0627 <em>Move them to the end<\/em> \u0686\u0646\u06cc\u06ba\u06d4 \u0635\u0631\u0641 \u0627\u0633\u067e\u06cc\u0633 \u0648\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u06cc\u06ba \u0628\u06be\u06cc \u062e\u0627\u0644\u06cc \u0634\u0645\u0627\u0631 \u06c1\u0648\u062a\u06cc \u06c1\u06cc\u06ba\u06d4<\/li><\/ul><h2 id=\"ur-the-buttons\">The Buttons<\/h2><ul><li><strong>Copy result:<\/strong> \u062a\u0631\u062a\u06cc\u0628 \u0634\u062f\u06c1 \u0641\u06c1\u0631\u0633\u062a \u06a9\u0627\u067e\u06cc \u06a9\u0631\u062a\u0627 \u06c1\u06d2 (Ctrl + Enter\u060c \u0645\u06cc\u06a9 \u067e\u0631 Cmd + Enter)\u06d4<\/li><li><strong>Select result:<\/strong> \u0622\u0624\u0679 \u067e\u0679 \u06c1\u0627\u0626\u06cc \u0644\u0627\u0626\u0679 \u06a9\u0631\u062a\u0627 \u06c1\u06d2\u06d4<\/li><li><strong>Download .txt:<\/strong> \u0641\u06c1\u0631\u0633\u062a \u0679\u06cc\u06a9\u0633\u0679 \u0641\u0627\u0626\u0644 \u0645\u06cc\u06ba \u0645\u062d\u0641\u0648\u0638 \u06a9\u0631\u062a\u0627 \u06c1\u06d2\u06d4<\/li><li><strong>Use result as input:<\/strong> \u062a\u0631\u062a\u06cc\u0628 \u0634\u062f\u06c1 \u0641\u06c1\u0631\u0633\u062a \u06a9\u0648 \u0627\u0646 \u067e\u0679 \u0645\u06cc\u06ba \u0644\u06d2 \u062c\u0627\u062a\u0627 \u06c1\u06d2 \u062a\u0627\u06a9\u06c1 \u0622\u067e \u0627\u0633\u06d2 \u06a9\u0633\u06cc \u0627\u0648\u0631 \u0637\u0631\u062d \u062f\u0648\u0628\u0627\u0631\u06c1 \u062a\u0631\u062a\u06cc\u0628 \u062f\u06cc\u06ba\u060c \u0645\u062b\u0644\u0627\u064b A to Z \u06a9\u06d2 \u0628\u0639\u062f \u0644\u0645\u0628\u0627\u0626\u06cc \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642\u06d4<\/li><li><strong>Paste<\/strong>\u060c <strong>Try an example<\/strong> \u0627\u0648\u0631 <strong>Clear all<\/strong> \u062f\u0648\u0633\u0631\u06d2 PHL Tools \u06a9\u06cc \u0637\u0631\u062d \u06a9\u0627\u0645 \u06a9\u0631\u062a\u06d2 \u06c1\u06cc\u06ba\u06d4<\/li><\/ul><h2 id=\"ur-real-life-uses\">Real-Life Uses<\/h2><ul><li><strong>SEO:<\/strong> <a href=\"https:\/\/tools.phledu.com\/duplicate-line-remover\/\">\u0688\u067e\u0644\u06cc\u06a9\u06cc\u0679 \u0644\u0627\u0626\u0646 \u0631\u06cc\u0645\u0648\u0648\u0631<\/a> \u0633\u06d2 \u062a\u06a9\u0631\u0627\u0631 \u06c1\u0679\u0627 \u06a9\u0631 \u06a9\u06cc \u0648\u0631\u0688 \u0641\u06c1\u0631\u0633\u062a \u06a9\u0648 \u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06cc \u062a\u0631\u062a\u06cc\u0628 \u062f\u06cc\u06ba\u06d4<\/li><li><strong>\u0637\u0644\u0628\u06c1 \u0627\u0648\u0631 \u0627\u0633\u0627\u062a\u0630\u06c1:<\/strong> \u0646\u0627\u0645\u0648\u06ba \u0627\u0648\u0631 \u0630\u062e\u06cc\u0631\u06c2 \u0627\u0644\u0641\u0627\u0638 \u06a9\u06cc \u0641\u06c1\u0631\u0633\u062a\u06cc\u06ba \u062a\u0631\u062a\u06cc\u0628 \u062f\u06cc\u06ba\u06d4<\/li><li><strong>\u062f\u06a9\u0627\u0646\u06cc\u06ba:<\/strong> \u0686\u06cc\u0632\u0648\u06ba \u06a9\u0648 \u0642\u06cc\u0645\u062a \u06a9\u06d2 \u0645\u0637\u0627\u0628\u0642 \u062a\u0631\u062a\u06cc\u0628 \u062f\u06cc\u06ba\u06d4<\/li><li><strong>\u0644\u06a9\u06be\u0627\u0631\u06cc:<\/strong> \u06a9\u0646\u0679\u06cc\u0646\u0679 \u067e\u0644\u0627\u0646 \u0645\u06cc\u06ba \u0633\u0628 \u0633\u06d2 \u0644\u0645\u0628\u06d2 \u0627\u0648\u0631 \u0686\u06be\u0648\u0679\u06d2 \u0679\u0627\u0626\u0679\u0644 \u0688\u06be\u0648\u0646\u0688\u06cc\u06ba\u06d4<\/li><\/ul><h2 id=\"ur-tips-and-limits\">Tips and Limits<\/h2><ul><li><strong>\u0627\u06cc\u06a9 \u0622\u0626\u0679\u0645 \u0641\u06cc \u0644\u0627\u0626\u0646<\/strong> \u0631\u06a9\u06be\u06cc\u06ba\u06d4 \u06a9\u0627\u0645\u0627 \u0633\u06d2 \u0627\u0644\u06af \u0641\u06c1\u0631\u0633\u062a\u0648\u06ba \u06a9\u0648 \u067e\u06c1\u0644\u06d2 \u0644\u0627\u0626\u0646\u0648\u06ba \u0645\u06cc\u06ba \u062a\u0648\u0691\u0646\u0627 \u06c1\u0648\u06af\u0627\u06d4<\/li><li>\u0645\u062e\u062a\u0644\u0641 \u0628\u0631\u0627\u0624\u0632\u0631 \u063a\u06cc\u0631 \u0645\u0639\u0645\u0648\u0644\u06cc \u062d\u0631\u0648\u0641\u060c \u0628\u0634\u0645\u0648\u0644 \u0628\u0639\u0636 \u0627\u0631\u062f\u0648 \u062d\u0631\u0648\u0641\u060c \u06a9\u0648 \u0642\u062f\u0631\u06d2 \u0645\u062e\u062a\u0644\u0641 \u062a\u0631\u062a\u06cc\u0628 \u062f\u06d2 \u0633\u06a9\u062a\u06d2 \u06c1\u06cc\u06ba\u060c \u0627\u0633 \u0644\u06cc\u06d2 \u0627\u06c1\u0645 \u0641\u06c1\u0631\u0633\u062a\u06cc\u06ba \u062c\u0627\u0646\u0686 \u0644\u06cc\u06ba\u06d4<\/li><li>\u0622\u067e \u06a9\u06cc \u0641\u06c1\u0631\u0633\u062a \u0622\u067e \u06a9\u06d2 \u0628\u0631\u0627\u0624\u0632\u0631 \u0645\u06cc\u06ba \u0631\u06c1\u062a\u06cc \u06c1\u06d2 \u0627\u0648\u0631 \u0627\u067e\u0644\u0648\u0688 \u0646\u06c1\u06cc\u06ba \u06c1\u0648\u062a\u06cc\u06d4<\/li><\/ul><h2 id=\"ur-reverse-order-and-random-shuffle\">Reverse Order and Random Shuffle<\/h2><p>\u0686\u06be \u0645\u0639\u0645\u0648\u0644 \u06a9\u06cc \u062a\u0631\u062a\u06cc\u0628\u0648\u06ba \u06a9\u06d2 \u0639\u0644\u0627\u0648\u06c1 \u062f\u0648 \u0645\u0632\u06cc\u062f \u0627\u0646\u062a\u062e\u0627\u0628 \u06c1\u06cc\u06ba:<\/p><ul><li><strong>Reverse order<\/strong> \u0641\u06c1\u0631\u0633\u062a \u06a9\u0648 \u0627\u0644\u0679 \u062f\u06cc\u062a\u0627 \u06c1\u06d2: \u0622\u062e\u0631\u06cc \u0644\u0627\u0626\u0646 \u067e\u06c1\u0644\u06cc \u0628\u0646 \u062c\u0627\u062a\u06cc \u06c1\u06d2\u06d4 \u06cc\u06c1 \u06a9\u0686\u06be \u062a\u0631\u062a\u06cc\u0628 \u0646\u06c1\u06cc\u06ba \u062f\u06cc\u062a\u0627\u060c \u0627\u0633 \u0644\u06cc\u06d2 \u0633\u0628 \u0633\u06d2 \u0646\u0626\u06cc \u0622\u062e\u0631 \u0645\u06cc\u06ba \u0648\u0627\u0644\u06cc \u0641\u06c1\u0631\u0633\u062a \u06a9\u0648 \u0633\u0628 \u0633\u06d2 \u0646\u0626\u06cc \u067e\u06c1\u0644\u06d2 \u0648\u0627\u0644\u06cc \u0628\u0646\u0627\u0646\u06d2 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0645\u0641\u06cc\u062f \u06c1\u06d2\u06d4<\/li><li><strong>Random shuffle<\/strong> \u06c1\u0631 \u0628\u0627\u0631 \u0645\u0646\u062a\u062e\u0628 \u06a9\u0631\u0646\u06d2 \u067e\u0631 \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0648 \u0628\u06d2 \u062a\u0631\u062a\u06cc\u0628 \u06a9\u0631\u062a\u0627 \u06c1\u06d2\u06d4 \u0642\u0631\u0639\u06c1 \u0627\u0646\u062f\u0627\u0632\u06cc\u060c \u06a9\u0648\u0626\u0632 \u0633\u0648\u0627\u0644\u0627\u062a \u06cc\u0627 \u0645\u0646\u0635\u0641\u0627\u0646\u06c1 \u062a\u0631\u062a\u06cc\u0628 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0627\u0633\u062a\u0639\u0645\u0627\u0644 \u06a9\u0631\u06cc\u06ba\u06d4 \u06cc\u06c1 \u067e\u0627\u0633 \u0648\u0631\u0688 \u062c\u06cc\u0633\u06d2 \u0633\u06cc\u06a9\u06cc\u0648\u0631\u0679\u06cc \u06a9\u0627\u0645\u0648\u06ba \u06a9\u06d2 \u0644\u06cc\u06d2 \u0646\u06c1\u06cc\u06ba \u06c1\u06d2\u06d4<\/li><\/ul><p>\u062e\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0627 \u0637\u0631\u06cc\u0642\u06c1 \u0627\u0648\u0631 \u0628\u0627\u0642\u06cc \u0622\u067e\u0634\u0646\u0632 \u067e\u06c1\u0644\u06d2 \u06a9\u06cc \u0637\u0631\u062d \u0644\u0627\u06af\u0648 \u0631\u06c1\u062a\u06d2 \u06c1\u06cc\u06ba\u06d4<\/p><h2 id=\"ur-faq\">FAQ<\/h2><details><summary>\u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0648 \u0622\u0646 \u0644\u0627\u0626\u0646 \u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06cc \u062a\u0631\u062a\u06cc\u0628 \u06a9\u06cc\u0633\u06d2 \u062f\u06cc\u06ba\u061f<\/summary><p>\u0641\u06c1\u0631\u0633\u062a \u0627\u06cc\u06a9 \u0622\u0626\u0679\u0645 \u0641\u06cc \u0644\u0627\u0626\u0646 \u067e\u06cc\u0633\u0679 \u06a9\u0631\u06cc\u06ba\u060c A to Z \u0686\u0646\u06cc\u06ba \u0627\u0648\u0631 \u0646\u062a\u06cc\u062c\u06d2 \u06a9\u06d2 \u062e\u0627\u0646\u06d2 \u0633\u06d2 \u062a\u0631\u062a\u06cc\u0628 \u0634\u062f\u06c1 \u0641\u06c1\u0631\u0633\u062a \u06a9\u0627\u067e\u06cc \u06a9\u0631\u06cc\u06ba\u06d4<\/p><\/details><details><summary>\u0646\u06cc\u0686\u0631\u0644 \u0633\u0648\u0631\u0679\u0646\u06af \u06a9\u06cc\u0627 \u06c1\u06d2\u061f<\/summary><p>\u06cc\u06c1 \u0645\u062a\u0646 \u06a9\u06d2 \u0627\u0646\u062f\u0631 \u0645\u0648\u062c\u0648\u062f \u0646\u0645\u0628\u0631\u0648\u06ba \u06a9\u0648 \u067e\u0648\u0631\u0627 \u0646\u0645\u0628\u0631 \u067e\u0691\u06be\u062a\u06cc \u06c1\u06d2\u060c \u0627\u0633 \u0644\u06cc\u06d2 item 2\u060c item 10 \u0633\u06d2 \u067e\u06c1\u0644\u06d2 \u0622\u062a\u0627 \u06c1\u06d2\u06d4<\/p><\/details><details><summary>\u06a9\u06cc\u0627 \u0628\u0691\u06d2 \u062d\u0631\u0648\u0641 \u062a\u0631\u062a\u06cc\u0628 \u0628\u062f\u0644\u062a\u06d2 \u06c1\u06cc\u06ba\u061f<\/summary><p>\u0688\u06cc\u0641\u0627\u0644\u0679 \u0637\u0648\u0631 \u067e\u0631 \u0646\u06c1\u06cc\u06ba\u060c \u06a9\u06cc\u0648\u0646\u06a9\u06c1 Ignore upper and lower case \u0622\u0646 \u06c1\u06d2\u06d4 \u0628\u0691\u06d2 \u062d\u0631\u0648\u0641 \u0627\u0644\u06af \u062a\u0631\u062a\u06cc\u0628 \u062f\u06cc\u0646\u06d2 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0679\u06a9 \u06c1\u0679\u0627\u0626\u06cc\u06ba\u06d4<\/p><\/details><details><summary>\u062e\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0627 \u06a9\u06cc\u0627 \u06c1\u0648\u062a\u0627 \u06c1\u06d2\u061f<\/summary><p>\u0622\u067e \u0686\u0646\u062a\u06d2 \u06c1\u06cc\u06ba: \u062f\u0648\u0633\u0631\u06cc \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u06d2 \u0633\u0627\u062a\u06be \u062a\u0631\u062a\u06cc\u0628 (\u0648\u06c1 \u0627\u0648\u067e\u0631 \u062c\u0627\u062a\u06cc \u06c1\u06cc\u06ba)\u060c \u0627\u0646\u06c1\u06cc\u06ba \u06c1\u0679\u0627\u0646\u0627\u060c \u06cc\u0627 \u0622\u062e\u0631 \u0645\u06cc\u06ba \u0628\u06be\u06cc\u062c\u0646\u0627\u06d4<\/p><\/details><h2 id=\"ur-related\">Related tool guides<\/h2><p class=\"rel\"><a href=\"https:\/\/tools.phledu.com\/blog\/duplicate-line-remover-guide\/\">Duplicate Line Remover<\/a><a href=\"https:\/\/tools.phledu.com\/blog\/text-reverser-guide\/\">Text Reverser<\/a><a href=\"https:\/\/tools.phledu.com\/blog\/word-counter-guide\/\">Word Counter<\/a><\/p><\/div>\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"How do I sort lines alphabetically online?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Paste your list with one item per line, choose A to Z and copy the sorted list from the result box.\"}}, {\"@type\": \"Question\", \"name\": \"What is natural sorting?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It reads numbers inside text as whole numbers, so item 2 comes before item 10 instead of after it.\"}}, {\"@type\": \"Question\", \"name\": \"Does capitalisation change the order?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Not by default, because Ignore upper and lower case is on. Untick it to sort capital letters separately.\"}}, {\"@type\": \"Question\", \"name\": \"What happens to blank lines?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"You choose: sort them with other lines (they go to the top), remove them, or move them to the end.\"}}, {\"@type\": \"Question\", \"name\": \"Is the sort stable?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes. Lines that compare as equal keep the order they had.\"}}, {\"@type\": \"Question\", \"name\": \"\u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0648 \u0622\u0646 \u0644\u0627\u0626\u0646 \u062d\u0631\u0648\u0641\u0650 \u062a\u06c1\u062c\u06cc \u06a9\u06cc \u062a\u0631\u062a\u06cc\u0628 \u06a9\u06cc\u0633\u06d2 \u062f\u06cc\u06ba\u061f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u0641\u06c1\u0631\u0633\u062a \u0627\u06cc\u06a9 \u0622\u0626\u0679\u0645 \u0641\u06cc \u0644\u0627\u0626\u0646 \u067e\u06cc\u0633\u0679 \u06a9\u0631\u06cc\u06ba\u060c A to Z \u0686\u0646\u06cc\u06ba \u0627\u0648\u0631 \u0646\u062a\u06cc\u062c\u06d2 \u06a9\u06d2 \u062e\u0627\u0646\u06d2 \u0633\u06d2 \u062a\u0631\u062a\u06cc\u0628 \u0634\u062f\u06c1 \u0641\u06c1\u0631\u0633\u062a \u06a9\u0627\u067e\u06cc \u06a9\u0631\u06cc\u06ba\u06d4\"}}, {\"@type\": \"Question\", \"name\": \"\u0646\u06cc\u0686\u0631\u0644 \u0633\u0648\u0631\u0679\u0646\u06af \u06a9\u06cc\u0627 \u06c1\u06d2\u061f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u06cc\u06c1 \u0645\u062a\u0646 \u06a9\u06d2 \u0627\u0646\u062f\u0631 \u0645\u0648\u062c\u0648\u062f \u0646\u0645\u0628\u0631\u0648\u06ba \u06a9\u0648 \u067e\u0648\u0631\u0627 \u0646\u0645\u0628\u0631 \u067e\u0691\u06be\u062a\u06cc \u06c1\u06d2\u060c \u0627\u0633 \u0644\u06cc\u06d2 item 2\u060c item 10 \u0633\u06d2 \u067e\u06c1\u0644\u06d2 \u0622\u062a\u0627 \u06c1\u06d2\u06d4\"}}, {\"@type\": \"Question\", \"name\": \"\u06a9\u06cc\u0627 \u0628\u0691\u06d2 \u062d\u0631\u0648\u0641 \u062a\u0631\u062a\u06cc\u0628 \u0628\u062f\u0644\u062a\u06d2 \u06c1\u06cc\u06ba\u061f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u0688\u06cc\u0641\u0627\u0644\u0679 \u0637\u0648\u0631 \u067e\u0631 \u0646\u06c1\u06cc\u06ba\u060c \u06a9\u06cc\u0648\u0646\u06a9\u06c1 Ignore upper and lower case \u0622\u0646 \u06c1\u06d2\u06d4 \u0628\u0691\u06d2 \u062d\u0631\u0648\u0641 \u0627\u0644\u06af \u062a\u0631\u062a\u06cc\u0628 \u062f\u06cc\u0646\u06d2 \u06a9\u06d2 \u0644\u06cc\u06d2 \u0679\u06a9 \u06c1\u0679\u0627\u0626\u06cc\u06ba\u06d4\"}}, {\"@type\": \"Question\", \"name\": \"\u062e\u0627\u0644\u06cc \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u0627 \u06a9\u06cc\u0627 \u06c1\u0648\u062a\u0627 \u06c1\u06d2\u061f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u0622\u067e \u0686\u0646\u062a\u06d2 \u06c1\u06cc\u06ba: \u062f\u0648\u0633\u0631\u06cc \u0644\u0627\u0626\u0646\u0648\u06ba \u06a9\u06d2 \u0633\u0627\u062a\u06be \u062a\u0631\u062a\u06cc\u0628 (\u0648\u06c1 \u0627\u0648\u067e\u0631 \u062c\u0627\u062a\u06cc \u06c1\u06cc\u06ba)\u060c \u0627\u0646\u06c1\u06cc\u06ba \u06c1\u0679\u0627\u0646\u0627\u060c \u06cc\u0627 \u0622\u062e\u0631 \u0645\u06cc\u06ba \u0628\u06be\u06cc\u062c\u0646\u0627\u06d4\"}}]}<\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to sort lines alphabetically without opening a spreadsheet? Paste your list into the free PHL Tools Line Sorter and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3],"tags":[38,37,30,36,22,35,39],"class_list":["post-34","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tool-guides","tag-alphabetical-order-tool","tag-line-sorter-online","tag-online-utilities","tag-organize-text-lines","tag-phl-tools-blog","tag-sort-lines-alphabetically","tag-text-list-sorter"],"_links":{"self":[{"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":2,"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/posts\/34\/revisions\/63"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/media\/35"}],"wp:attachment":[{"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tools.phledu.com\/blog\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}