Sort a float array