Yeah but how do I actually do sorting with that collection? Or am I asking something plain stupid here? It doesn't look like this is possible with your code yet...
I did read the replies to this question

, but maybe an example will be better.
http://www.java-gaming.org/topics/ringvibe/27700/msg/248929/view.html#msg248929In the game I made, I used an array for the rings. Each ring has a lifetime where it gets created and deleted. Riven's collection code helps with organizing this type of array. The rings don't need to be sorted... they just need to destroy and create themselves without causing an error. Creating and deleting the elements at the same time during an array is really bad news
