code: def loop_position(self):
          
          for i, v in enumerate(self._sort_loop):
              if v == glances_processes.sort_key:
                  return i
          return 0
docs: Return the current sort in the loop