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