Anyone who has taken a basic computer science class has undoubtedly spent time devising a sorting algorithm—code that will take an unordered list of items and put them in ascending or descending order ...
So, my current approach right now is to use a RB-tree to do my sorting. As I encounter data, I throw it into the tree and let the tree do the sorting. In addition, I'm using hints so that the tree ...