sorting by insertion algorithm with ant build