DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter  (Read 27,058 times)

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« on: December 05, 2012, 02:52 AM »
If you've ever seen a woman try on a dozen different dresses in a store, and then say, "I like this one better than that one, but I really like this other one better....", you'll understand the need for the 2x2 List Sorter. Same thing if you've ever presented a kid with 31 different ice-cream flavor choices at a Baskin Robins. It can be hard to get all your preferences sorted out, when you have to look at all the options at the same time. Along comes the 2x2 List Sorter to the rescue. Just feed it a text file of related choices (dress colors, fruit types, ice cream flavors), and the program will then help you step-by-step to figure out your most to least favorite.

Offers option to export the finished sort to text file.

The minimum number of button clicks required to achieve a sorted list is n-1,
and the maximum possibly required clicks is (n_squared / 2) - (n / 2), where n
is the number of items in the list.

Screenshots:

sorter.png

list.png

sorter_loaded.png

Download link:

http://kyrathaba.dcmembers.com/ccount/click.php?id=15


Installation: download and run the program.

Requirements: .NET Framework 4.0
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #1 on: December 05, 2012, 02:55 AM »
great idea  :up:

Jibz

  • Cold Warrior
  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Participated in NANY Challenge Four Times
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #2 on: December 05, 2012, 07:44 AM »
I wonder if randomizing the order of choices would be more confusing or not to the user. It seems like it could maybe improve the expected runtime -- but I am on my first cup of coffee, so I may be wrong :-[.

Nice idea :Thmbsup:.
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

Jibz

  • Cold Warrior
  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Participated in NANY Challenge Four Times
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #3 on: December 05, 2012, 07:50 AM »
Actually, I guess the user is the comparison function, so you could implement most sorting algorithms based on comparison I guess. 2x2 List Quicksortw anyone?
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

awopbamboo

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 118
    • Coding Snacks
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #4 on: December 06, 2012, 02:29 PM »
Excellent idea!

I just rated my previous girlfriends, worryingly, my wife came 4th!
:-*
_____________________________________________
J.

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #5 on: December 06, 2012, 03:05 PM »
Excellent idea!

I just rated my previous girlfriends, worryingly, my wife came 4th!
:-*

Does she read your internet posts?    :o
Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #6 on: December 06, 2012, 03:11 PM »
Kyrathaba, you're onto something, but a couple of features might make it even more useful. What if you had a "hate" option? Most people only really pick from the top half of their list right? So what if there was an "Accelerated Mode" where you click any number of items "that belong in the lower half of your list" (you can rescue one later.)

So on a 30 point list your program would be as exhausting as the real life version, but if you just click "I hate coffee, licorice, tomatoes, ratatouille, green & yellow peppers, onions, lima beans, escargot, pickled mangoes, anchovies, and blueberries", then you save a zillion comparisons.

Then you can decide if you like chicken more than steak, coke vs pepsi, tacos vs enchiladas, etc.

Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

awopbamboo

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 118
    • Coding Snacks
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #7 on: December 06, 2012, 03:22 PM »

Does she read your internet posts?    :o


Hopefully!

:D :D
_____________________________________________
J.

Shiyin

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #8 on: February 11, 2013, 01:10 PM »
I've found it useful for sorting task lists, to select the most important tasks to do next. The problem is that for longer lists it takes a long time, but I only need the top items. If there was an option to choose to stop when the top 5 items are found, it would be faster and more useful for this purpose.

Shiyin

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #9 on: February 11, 2013, 01:13 PM »
For task lists, (which I copy from another app), it would also save time to enable more than 30 characters, or to automatically trim the end off of items > 30 chars.

Thanks for a really handy app!

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • Participated in NANY Challenge Eight Times
    • Programming School - Deluxe Bonus Medal
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Military Service Badge - US Army
    • Writer
Re: N.A.N.Y. 2013 Pledge & Release: 2x2 List Sorter
« Reply #10 on: March 15, 2013, 07:27 PM »
Glad it's helpful, Shiyin  :)
Win 10 Pro running on a 3.2 GHz CPU and 12 Gb RAM
__________________________________________

Proofreading Service: http://williammillerservices.com/proofreading

Original address: https://www.donationcoder.com/forum/index.php?topic=33148.0