postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

Sort requests in folder, alphabetically

Open karlmacklin opened this issue 7 years ago • 71 comments

I would like to have a button to sort the requests in a collection folder, alphabetically, with a single click.

The current sorting is manual and if you have a large collection of requests that you have created over time, that big mess could quickly be solved by such a button, and not so quickly by manual work dragging and dropping.

karlmacklin avatar Sep 21 '18 07:09 karlmacklin

This would definitely be a great feature to have

hanikhan avatar Oct 31 '18 05:10 hanikhan

I see this sort button in the docs which doesn't appear on my setup. Was it removed or is it just a concept?

image

DeadDuck avatar Feb 12 '19 05:02 DeadDuck

@DeadDuck, you're not alone. I am having same issue. +1

qwertycody avatar Mar 22 '19 12:03 qwertycody

@DeadDuck Yep, I'm also seeing this issue. It looks like this feature is available in the Chrome App, but not on native Desktop App (for Mac OS at least) yet. I guess it just hasn't yet been ported over; perhaps it's harder to implement on Desktop?

Postman_and_Postman

johnli2210 avatar May 09 '19 04:05 johnli2210

+1 on adding ability to sort in both collection level and folder level

glau2 avatar Nov 05 '19 02:11 glau2

Any plans to add this feature?

badmansan avatar Nov 20 '19 11:11 badmansan

Any updates on this, much desired feature, thanks!

yashbhutwala avatar Sep 04 '20 20:09 yashbhutwala

Also looking forward this feature in desktop app. Thank you in advance

Alexand00r avatar Sep 17 '20 05:09 Alexand00r

+1!

penguinawesome avatar Sep 30 '20 02:09 penguinawesome

+1!

GXelha avatar Oct 16 '20 00:10 GXelha

+1

mattiagalati avatar Oct 21 '20 14:10 mattiagalati

+1

josh-kimmm avatar Oct 27 '20 23:10 josh-kimmm

+1

chris-rl avatar Nov 06 '20 14:11 chris-rl

+1

JSmythSSG avatar Nov 13 '20 13:11 JSmythSSG

+1

Paridhi-Mohindra avatar Dec 02 '20 14:12 Paridhi-Mohindra

+1

alexxozo avatar Dec 08 '20 14:12 alexxozo

+1

danielrobleM avatar Dec 24 '20 15:12 danielrobleM

+1

minhthong095 avatar Jan 13 '21 03:01 minhthong095

+1

randy-ja avatar Feb 01 '21 20:02 randy-ja

+1. I have collections with 100s of entries. Manually sorting through drag-and-drop is difficult and time-consuming. Hell, make it a premium feature if you must but sorting is sorely needed.

solsticesurfer avatar Feb 02 '21 16:02 solsticesurfer

Also, It'd be great to have a sort for JSON data inside each request too.

gusandrioli avatar Feb 18 '21 03:02 gusandrioli

+1

donreinardgomez avatar Mar 19 '21 00:03 donreinardgomez

+1

annaelizabeth2019 avatar Mar 31 '21 21:03 annaelizabeth2019

PLEASE, STOP POSTING

+1

If you want to express your agreement, use the thumb 👍 on the initial post.

Schermata 2021-04-01 alle 12 40 32

daniele-orlando avatar Apr 01 '21 12:04 daniele-orlando

I also want this, so I knocked out a quick npm module to sort an exported collection by name and verb.

https://github.com/matthewlein/postman-collection-sorter

Usage

  1. In Postman, export your collection as a Collection v2.1

  2. Run:

    npx @matthewlein/postman-collection-sorter ./path/to/your/API.postman_collection.json

  3. You should see output like:

Sorting collection file:  ./path/to/your/API.postman_collection.json
Sorting Successful!
Sorted collection saved to: ./path/to/your/API.postman_collection.sorted.json
  1. In Postman, import the new sorted JSON file.
  2. Enjoy that sweet sweet alphabetical sorting.

matthewlein avatar May 20 '21 14:05 matthewlein

I also want this, so I knocked out a quick npm module to sort an exported collection by name and verb.

https://github.com/matthewlein/postman-collection-sorter

Usage

  1. In Postman, export your collection as a Collection v2.1
  2. Run: npx @matthewlein/postman-collection-sorter ./path/to/your/API.postman_collection.json
  3. You should see output like:
Sorting collection file:  ./path/to/your/API.postman_collection.json
Sorting Successful!
Sorted collection saved to: ./path/to/your/API.postman_collection.sorted.json
  1. In Postman, import the new sorted JSON file.
  2. Enjoy that sweet sweet alphabetical sorting.

Thanks you for this solution, worked like a charm. Melts my mind that this is required and not a button yet, though.

JohnCarmichael3000 avatar Oct 10 '21 17:10 JohnCarmichael3000

...how is it possible that you can't yet sort collections in almost 2022?

dh-pt avatar Nov 24 '21 05:11 dh-pt

I also want this, so I knocked out a quick npm module to sort an exported collection by name and verb.

https://github.com/matthewlein/postman-collection-sorter

Usage

  1. In Postman, export your collection as a Collection v2.1
  2. Run: npx @matthewlein/postman-collection-sorter ./path/to/your/API.postman_collection.json
  3. You should see output like:
Sorting collection file:  ./path/to/your/API.postman_collection.json
Sorting Successful!
Sorted collection saved to: ./path/to/your/API.postman_collection.sorted.json
  1. In Postman, import the new sorted JSON file.
  2. Enjoy that sweet sweet alphabetical sorting.

Great little utility. thanks a lot for sharing the tool and appreciate the time you spent creating it.

rishinaveen avatar Dec 22 '21 22:12 rishinaveen

+1

svenbeck27 avatar Jan 27 '22 07:01 svenbeck27

+1

innotech-manar-ishtayeh avatar Feb 20 '22 12:02 innotech-manar-ishtayeh