Returns:
             list: the names of all saved sessions

def stateNames(self):
        """Returns:
             list: the names of all saved sessions
        """
#         if self.current_session:
        s = self.tmp_dir_session
        l = [x for x in s.listdir() if s.join(x).isdir()]
        naturalSorting(l)
        # else:
        #    l=[]
        # bring autosave to first position:
        if 'autoSave' in l:
            l.remove('autoSave')
            l.insert(0, 'autoSave')
        return l