Ensure return Array is sorted by coordiantes
Update to scala 2.10.4