def sort_index(self, **kwargs):
    "Returns a sorted version of the TimeSeries object.\n        Generally this shouldn't be necessary as most TimeSeries operations sort\n        the data anyway to ensure consistent behaviour when truncating.\n\n        Returns\n        -------\n        newts : `~sunpy.timeseries.TimeSeries`\n            A new time series in ascending chronological order.\n        "
    return GenericTimeSeries(self.data.sort_index(**kwargs), TimeSeriesMetaData(copy.copy(self.meta.metadata)), copy.copy(self.units))
Returns a sorted version of the TimeSeries object.
Generally this shouldn't be necessary as most TimeSeries operations sort
the data anyway to ensure consistent behaviour when truncating.

Returns
-------
newts : `~sunpy.timeseries.TimeSeries`
    A new time series in ascending chronological order.
def sort_index(self, **kwargs):
    "Returns a sorted version of the TimeSeries object.\n        Generally this shouldn't be necessary as most TimeSeries operations sort\n        the data anyway to ensure consistent behaviour when truncating.\n\n        Returns\n        -------\n        newts : `~sunpy.timeseries.TimeSeries`\n            A new time series in ascending chronological order.\n        "
    return GenericTimeSeries(self.data.sort_index(**kwargs), TimeSeriesMetaData(copy.copy(self.meta.metadata)), copy.copy(self.units))