pyroSAR/S1/auxil.py
def sortByDate(self, files, datetype='start'):
        """
        sort a list of OSV files by a specific date type

        Parameters
        ----------
        files: list
            some OSV files
        datetype: {'publish', 'start', 'stop'}
            one of three possible date types contained in the OSV filename

        Returns
        -------
        list
            the input OSV files sorted by the defined date
        """
        return sorted(files, key=lambda x: self.date(x, datetype))

        sort a list of OSV files by a specific date type

        Parameters
        ----------
        files: list
            some OSV files
        datetype: {'publish', 'start', 'stop'}
            one of three possible date types contained in the OSV filename

        Returns
        -------
        list
            the input OSV files sorted by the defined date
        
sort a list of OSV files by a specific date type
Parameters



Returns

list
the input OSV files sorted by the defined date
sort a list of OSV files by a specific date type Parameters Returns list the input OSV files sorted by the defined date
def sortByDate(self, files, datetype='start'):
        return sorted(files, key=lambda x: self.date(x, datetype))
def sortByDate ( self , files , datetype = 'start' ) : return sorted ( files , key = lambda x : self . date ( x , datetype ) )
sort a list of OSV files by a specific date type
Parameters
sort a list of OSV files by a specific date type Parameters
"""
        sort a list of OSV files by a specific date type

        Parameters
        ----------
        files: list
            some OSV files
        datetype: {'publish', 'start', 'stop'}
            one of three possible date types contained in the OSV filename

        Returns
        -------
        list
            the input OSV files sorted by the defined date
        """
self
files
datetype