ترتيب أسطر النص
رتّب الأسطر تصاعديًا أو تنازليًا وفق اللغة التي تختارها.
المدخلات
تلميح: اضغط Ctrl + Enter للتشغيل
الإعدادات المحفوظة
المساعدة المفصلة أدناه متاحة بالإنجليزية فقط حاليًا.
حول هذه الأداة
Sort a list of names, tags, file names or bibliography entries in ascending or descending order. The sort uses your language’s collation rules, so accented letters fall next to their unaccented forms, and numbers inside text are compared as numbers: "item 2" sorts before "item 10", unlike a plain character-by-character sort.
طريقة الاستخدام
- Paste the lines you want to sort.
- Choose ascending (A to Z) or descending (Z to A).
- Run the sort.
- Copy the result; remove repeats first with remove duplicate lines if needed.
كيف يعمل الحساب
Lines are compared with Intl.Collator for the page language with numeric ordering enabled. Descending order reverses the comparison.
مثال تطبيقي
Sorting "item 10", "item 2", "Éclair", "eclair" and "zebra" in ascending order gives eclair, Éclair, item 2, item 10, zebra. The accented É sits beside the plain e, and 2 comes before 10.
مثال على الإدخال والنتيجة
كمثرى / تفاح → تفاح / كمثرى
القيود
- Sorts whole lines only.
- Language rules come from the page language you are browsing in.
- Blank lines sort to the top in ascending order.
آخر تحديث:
الأسئلة الشائعة
Is the sort case-sensitive?
Uppercase and lowercase versions of a letter are grouped together, with a consistent tie-break, as in a dictionary.
Why does "10" come after "9"?
Numeric collation compares numbers by value, which is what most people expect in lists of files or items.
Can I sort by a column?
No, whole lines are compared from the first character. For spreadsheets, sort in the spreadsheet or use the CSV cleanup tool.
استكشاف الأخطاء وإصلاحها
Lines starting with a space sort first.
Leading spaces affect order. Clean them with the whitespace cleaner.
Order differs from Excel.
Excel uses its own collation; differences around punctuation and accents are expected.
I want to shuffle instead of sort.
Use the random number generator to pick items, or the spin the wheel tool.
الخصوصية & مجاني
هل تُخزَّن مدخلاتي؟
تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.
هل هذه الأداة مجانية؟
نعم. لا يلزم تسجيل أو دفع.
انظر أيضًا
خطوات تالية مفيدة
عدّاد الكلمات والأحرف
عُدّ الكلمات والأحرف الظاهرة والفقرات والأسطر محليًا، مع تقسيم يراعي اللغة.
النصوص والكتابةمحوّل حالة الأحرف
بدّل بين الأحرف الكبيرة والصغيرة وحالة العنوان وحالة الجملة في أداة واحدة.
النصوص والكتابةإزالة الأسطر المكررة
يحتفظ بأول ظهور لكل سطر مطابق ويحافظ على الترتيب الأصلي.
النصوص والكتابة