def sort(self):
		"""
		Absolutely mandatory, called in the constructor.
		"""
		sortedindices = np.argsort(self.jds)
		self.jds = self.jds[sortedindices]
		self.mags = self.mags[sortedindices]
		self.magerrs = self.magerrs[sortedindices]
		self.mask = self.mask[sortedindices]
		self.validate()