Assuming that you've written each entry to a text file by ammending new entries to the end, the best way i figure it right off is by reading the strings into an array and then iterating through the array in reverse. You can even split each entry into different multidimensional array columns and sort by any of them. See any Data Structures programming tutorial for sort algorithms.
__________________
I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use. - Galileo Galilei
Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. - Thomas Jefferson (3rd US President, author of the Declaration of Independence)
Justice is the [ultimate goal] of government. It is the [ultimate goal] of civil society. It ever has been and ever will be pursued until it be obtained, or until liberty be lost in the pursuit. - James Madison (4th US President, "father" of the US Constitution)
|