Could you post a small sampling of this data in question please.

or if it really is that easy since it's in an array just feed it to QS (Quick Sort) UDF and it will sort the smallest ones for you in the beginning.