http://qs321.pair.com?node_id=1173961


in reply to Advanced Bubble Sort

Why do you need a bubble sort? What's wrong with built-in sort (once you figure out your versioning issue)?
As for the version issue, you might want to convert the version part of the string into something that can be alphanumerically compared with the other versions, then it'll be easy to keep only the last one.