added haxe.ds.ListSort for merge sort helper