in reply to Re: 2 dimensional array sorting...
in thread 2 dimensional array sorting...

Thanks, Zaxo. That snippet did it for me.

I'm using the number portion to do two things. First, it builds a longer product number. Second, there are actually several configuration files in a sort of tree structure. These files are keyed by the first number. If the user selects "toppers" from the list, then toppers is inserted into my BrowseEntry widget and the program goes on to read "style0.txt" in, which is another file of the same structure which contains various styles of toppers, corkscrews and openers. Using a 2d array seemed simpler.

I might migrate this to my PostgreSQL database, but I wanted it easy for people to edit the product build info even on a Windows machine. If anyone is interested in the code snippets, I'll post the relevant parts. Thanks to all that replied!

Soko