nodes: 0, module; 1, function_definition; 2, function_name:_get_paths_for_status; 3, parameters; 4, block; 5, identifier:self; 6, identifier:status; 7, expression_statement; 8, expression_statement; 9, return_statement; 10, comment:"""
          Returns sorted list of paths for given ``status``.
  
          :param status: one of: *added*, *modified* or *deleted*
          """; 11, assignment; 12, call; 13, pattern_list; 14, attribute; 15, identifier:sorted; 16, argument_list; 17, identifier:added; 18, identifier:modified; 19, identifier:deleted; 20, identifier:self; 21, identifier:_changes_cache; 22, subscript; 23, dictionary; 24, identifier:status; 25, pair; 26, pair; 27, pair; 28, string; 29, call; 30, string; 31, call; 32, string; 33, call; 34, string_content:added; 35, identifier:list; 36, argument_list; 37, string_content:modified; 38, identifier:list; 39, argument_list; 40, string_content:deleted; 41, identifier:list; 42, argument_list; 43, identifier:added; 44, identifier:modified; 45, identifier:deleted
code: def _get_paths_for_status(self, status):
          """
          Returns sorted list of paths for given ``status``.
  
          :param status: one of: *added*, *modified* or *deleted*
          """
          added, modified, deleted = self._changes_cache
          return sorted({
              'added': list(added),
              'modified': list(modified),
              'deleted': list(deleted)}[status]
          )