Sort the density data by position when reading local file.  Also, inject in missing points, represented as depth of 0;