So yeah, sometimes I make comics and cartoons with these lesbian characters. They do stuff. Yeah.
Comic one.
Comic two.
Comic three.
Comic four.
Comic five.
Comic six.
Cartoon one.
Cartoon two.
Here it is.
Btw, Smidge is right, you don't need to use the bubble sort .
But using it, you can have more control. For example, if the nearest object is on the left of Sonic(and he's facing right), maybe it's better for him to homming attack one object that's a little further (but is on the side he's facing)