ਲਾਈਨ Sort Tool

ਪੇਸਟ ਕੀਤੀਆਂ lists ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ natural, numeric, ਜਾਂ dictionary ਕ੍ਰਮ ਵਿੱਚ sort ਕਰੋ।

Blank-line removal, dedupe, ਅਤੇ locale-aware sorting ਸਭ ਤੁਹਾਡੇ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਸਥਾਨਕ ਤੌਰ 'ਤੇ ਚੱਲਦੇ ਹਨ।

Your ਇਨਪੁੱਟ stays in the ਬ੍ਰਾਊਜ਼ਰ

ਵਰਤੋਂ ਦਾ ਤਰੀਕਾ

  1. Paste your list into the left ਬਾਕਸ, one item per ਲਾਈਨ.
  2. Choose ਕੁਦਰਤੀ, ਅੰਕਗਣਿਤ, or ਡਿਕਸ਼ਨਰੀ ਕ੍ਰਮ and pick ascending or descending.
  3. Adjust ਸਥਾਨਕe, ਖਾਲੀ ਲਾਈਨ ਹਟਾਉਣਾ, ਨਕਲਾਂ ਹਟਾਉਣਾ, or ਟ੍ਰਿਮming if needed.
  4. Click sort ਕਰੋ, then ਕਾਪੀ or ਡਾਊਨਲੋਡ the ਨਤੀਜਾ.

ਨਮੂਨੇ

ਕੁਦਰਤੀ ਕ੍ਰਮ (filenames)

ਇਨਪੁੱਟ

file10
file2
file1

ਆਉਟਪੁੱਟ

file1
file2
file10

ਅੰਕਗਣਿਤ ਕ੍ਰਮ (`de-DE`)

ਇਨਪੁੱਟ

10,5
2,75
1.234,5

ਆਉਟਪੁੱਟ

2,75
10,5
1.234,5

ਡਿਕਸ਼ਨਰੀ ਕ੍ਰਮ (`sv`)

ਇਨਪੁੱਟ

Öga
Zebra
Äpple
Ål

ਆਉਟਪੁੱਟ

Zebra
Ål
Äpple
Öga

ਸ਼ਬਦਾਵਲੀ

ਕੁਦਰਤੀ ਕ੍ਰਮ

A human-friendly ਤੁਲਨਾ mode that places `2` before `10` instead of comparing digit strings literally.

ਡਿਕਸ਼ਨਰੀ ਕ੍ਰਮ

A lexical string ਤੁਲਨਾ. The exact ਕ੍ਰਮ depends on ਭਾਸ਼ਾ and ਸਥਾਨਕe rules.

Locale

The ਭਾਸ਼ਾ and regional rules used for ਕ੍ਰਮਬੱਧਤਾ and ਅੰਕ ਪਾਰਸਿੰਗ, such as `ja`, `en`, `sv`, or `de-DE`.

FAQ

What is the difference between ਕੁਦਰਤੀ and ਡਿਕਸ਼ਨਰੀ ਕ੍ਰਮ?

ਕੁਦਰਤੀ ਕ੍ਰਮ treats embedded numbers as numbers, so `file2` comes before `file10`. ਡਿਕਸ਼ਨਰੀ ਕ੍ਰਮ ਤੁਲਨਾ ਕਰੋs ਲਿਖਤ as ਲਿਖਤ, which can place `file10` before `file2`.

Can ਅੰਕਗਣਿਤ ਕ੍ਰਮ handle `1,234.56` and `1.234,56`?

Yes. The ਟੂਲ interprets decimal and grouping separators according to the selected ਸਥਾਨਕe. If a ਲਾਈਨ does not fit that ਸਥਾਨਕe, it is handled as non-ਅੰਕਗਣਿਤ according to your setting.

How should I choose a ਸਥਾਨਕe?

Use `Auto` in most cases. Switch to `Custom` only when you need another ਭਾਸ਼ਾ's ਕ੍ਰਮਬੱਧਤਾ or ਅੰਕਗਣਿਤ formatting rules, such as `sv` or `de-DE`.

How does ਡੁਪਲੀਕੇਟ removal work?

The default mode removes only exact matches. In ਤਕਨੀਕੀ ਸੈਟਿੰਗਾਂ you can switch to `Equal under current sort rules`, which can merge ਲਾਈਨਾਂ that ਤੁਲਨਾ ਕਰੋ the same under the active ਕ੍ਰਮਬੱਧਤਾ or ਅੰਕਗਣਿਤ rules.

Is my data sent to a ਸਰਵਰ?

No. sort ਕਰੋing happens entirely in the ਬ੍ਰਾਊਜ਼ਰ and your ਇਨਪੁੱਟ is not sent to a ਸਰਵਰ.

Can I use this with Japanese, Arabic, or European ਭਾਸ਼ਾਂ?

Yes. The UI is ਸਥਾਨਕized and sorting relies on `Intl.Collator` plus ਲੋਕੇਲ-ਜਾਗਰੂਕ ਅੰਕ ਪਾਰਸਿੰਗ. The final ਕ੍ਰਮ still depends on the selected ਸਥਾਨਕe and the ਬ੍ਰਾਊਜ਼ਰ's implementation.

ਨੋਟਸ

  • ਅੰਕਗਣਿਤ ਕ੍ਰਮ depends on the selected ਸਥਾਨਕe for decimal and grouping ਚਿੰਨ੍ਹ. If the ਨਤੀਜਾ looks wrong, check the ਸਥਾਨਕe first.
  • `Equal under current sort rules` can merge ਲਾਈਨਾਂ that look different if case, accents, or ਅੰਕਗਣਿਤ formatting are treated as equivalent.
  • Only options can be stored ਸਥਾਨਕly. ਇਨਪੁੱਟ and ਆਉਟਪੁੱਟ ਲਿਖਤ are not saved.

ਪਰਾਈਵੇਸੀ ਅਤੇ ਨੋਟਸ

This ਟੂਲ runs ਸਥਾਨਕly in the ਬ੍ਰਾਊਜ਼ਰ. ਬਹੁਭਾਸ਼ੀ ordering can vary slightly depending on the selected ਸਥਾਨਕe and ਬ੍ਰਾਊਜ਼ਰ engine.