How to sort an Array ArrayList?

Alternatively you can use the faster FloatList container and its method sort():