Is there a datatype or class which will allow me to accomplish this or what would be an efficient way to produce a similar effect.
1) Add items to an array with an associated float key (will have a few duplicate float keys)
2) Sort the array from least to greatest based on the float key OR grab the lowest float key and return those objects.
I need this to be relatively efficient because I will be repeating this many times per second.