def sort_by_size(self):
        """
            Sort the list in by number of bytes
        """
        flist_copy = []
        temp = []
        try:
            flist_copy = zip(map(os.path.getsize, self), self)
        except TypeError:
            # there may be lists of lists
            temp = self._unwind()
            flist_copy = zip(map(os.path.getsize, temp), temp)
        flist_copy.sort()
        self[:] = [item for size, item in flist_copy]

            Sort the list in by number of bytes
        
recipes/Python/259147_FSList/recipe-259147.py