WhiteHouse / ndoch-hackathon

15 stars 14 forks source link

Addition of sorting to API results #11

Open ivanstegic opened 11 years ago

ivanstegic commented 11 years ago

Do a search for "gun control" on the API:

https://api.whitehouse.gov/v1/petitions.jsonp?title=gun%20control

Results are returns in date created order. Please consider adding other sorting options? It would be AWESOME to see the results sorted by:

It would probably be incredible to see the data sorted by other parameters, but the most interesting to me is by signatureCount, which really would indicate popularity to me.

welschp commented 11 years ago

Interesting ideas - the team's culling through issues and feedback from the hackathon, we'll see about getting this into the queue.

ivanstegic commented 11 years ago

Thanks, Peter -- it would really assist in finding popular petitions in the instant search especially.