lib/colors/__init__.py
def _sorted_copy(self, comparison, reversed=False):
        """
        Returns a sorted copy with the colors arranged according to the given comparison.
        """
        sorted = self.copy()
        _list.sort(sorted, comparison)
        if reversed:
            _list.reverse(sorted)
        return sorted
def _sorted_copy(self, comparison, reversed=False):
        """
        Returns a sorted copy with the colors arranged according to the given comparison.
        """
        sorted = self.copy()
        _list.sort(sorted, comparison)
        if reversed:
            _list.reverse(sorted)
        return sorted
def _sorted_copy ( self , comparison , reversed = False ) : sorted = self . copy ( ) _list . sort ( sorted , comparison ) if reversed : _list . reverse ( sorted ) return sorted
Returns a sorted copy with the colors arranged according to the given comparison.
Returns a sorted copy with the colors arranged according to the given comparison .