I have sequences, their ids and the scores of the squences.
I want to sore these sequences by the score.
After sorting every sequence should still together with its id and score.
I want to use a hash. But I will dynamicly get more and more sequences and their ids, scores.
How can I add those to the hash dynamicly?
In the book, it said don't use push or pop with hash.
And also the order in the hash is not guaranteed.
So I don't know how to find a good way to resolve this problem.
Thanks a lot!