in reply to Ranking files, largest to smallest

Is this, perchance, homework? The problem sounds very manufactured.

If it is homework, that is not a problem. Just tell us. We are willing to help. You have shown what you have done already, which is good.

BTW: welcome to the monastary.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: Ranking files, largest to smallest
by ewexperts (Initiate) on May 28, 2008 at 01:56 UTC
    Thanks for the input, guys. It's actually not homework, I'll explain further. And in fact, I may be way out of my league here in trying to do this.

    I run a fantasy-wrestling website, of about 400-500 wrestlers, and until now I've been ranking them in an excel file, then manually grabbing the top 20 ranked wrestlers and placing them in a text file, to include on the front page. You can see it at http://www.ewexperts.com on the right side.

    The great idea I had was to implement a script-based system, where my staff members can monitor matches and then submit updated stats, for me to review and either confirm or reject (to prevent cheating).

    From this script, I would like the wrestler ranked (not by file-size as I think some people interpreted) but by largest-to-smallest based on the number that exists in each .total file.

    I have the first script created already (the one where the stats are submitted into different files, example: (Jason Blade.wins, Jason Blade.losses, Jason Blade.total)

    But, I think I might be out of my realm of capability on this one, because nothing I try seems to be working and so I'll probably look to hiring out for this one.

    -Jesse
    ewexperts@tmo.blackberry.net