Reading data from File and arranging it

I have to write a program that uses as input a text file. In the file their is a name and a double formatted as:

Bob654.32

Julian126.31

Jimbo325.15

Reading through the file with the scanner class going line by line I figured out how to separate the name and double into different variables. That hard part is I have to organize the doubles going from highest to lowest using only if, while, do, and for loops. The file can have varying amounts of people inside so constant values can't be used. Cannot use arrays. Thanks for reading.

[565 byte] By [misc213a] at [2007-11-27 1:42:21]
# 1
It's your assignment. Are you expecting us to do it for you? Don't.
ChuckBinga at 2007-7-12 0:58:52 > top of Java-index,Java Essentials,Java Programming...
# 2
I'm not asking help as for the code as I am the logic to do it. I'm stumped. If I knew the general logic I know I can translate it into code. Just looking to see if anyone has some ideas.Message was edited by: misc213
misc213a at 2007-7-12 0:58:52 > top of Java-index,Java Essentials,Java Programming...
# 3
Part of the assignment is to develop the logic. The people who can do that get the big bucks. The junior programmer at the bottom of the food chain is able to convert it to code. Youy teacher is trying to teach you how to get the big bucks.
ChuckBinga at 2007-7-12 0:58:52 > top of Java-index,Java Essentials,Java Programming...
# 4
Okay I'll take that advice in stride, thanks for reading.
misc213a at 2007-7-12 0:58:52 > top of Java-index,Java Essentials,Java Programming...
# 5
Cannot use arrays?That seems rather impossible to implement without arrays or other collections.
-Kayaman-a at 2007-7-12 0:58:52 > top of Java-index,Java Essentials,Java Programming...
# 6
Thus I'm stumped
misc213a at 2007-7-12 0:58:52 > top of Java-index,Java Essentials,Java Programming...
# 7

What's the exact assignment? If you're not allowed to use arrays or collections, the only way I can see this being possible is to create a buttload of variables from name1...name999, therefore creating an artificial limit to the amount of lines you can handle _and_ making the code look like shite.

-Kayaman-a at 2007-7-12 0:58:52 > top of Java-index,Java Essentials,Java Programming...