input: from typing import List
  
  def generate_top_bestselling_books_table(genre: str, books: List[List[str]]) -> str:
      """Generate an HTML table displaying information about the top 10 bestselling books in a specific genre.
      Each book in the list should contain the title, author, genre, and sales.
      >>> books_data = [
      ...     ['Game of Thrones', 'George R. R. Martin', 'Fantasy', '1000000'],
      ...     ['The Lord of the Rings', 'J.R.R. Tolkien', 'Fantasy', '1500000'],
      ...     ['Harry Potter and the Philosopher\'s Stone', 'J.K. Rowling', 'Fantasy', '2000000']
      ... ]
      >>> generate_top_bestselling_books_table('Fantasy', books_data)
      '<table><tr><th>Title</th><th>Author</th><th>Genre</th><th>Sales</th></tr><tr><td>Harry Potter and the Philosopher\'s Stone</td><td>J.K. Rowling</td><td>Fantasy</td><td>2000000</td></tr><tr><td>The Lord of the Rings</td><td>J.R.R. Tolkien</td><td>Fantasy</td><td>1500000</td></tr><tr><td>Game of Thrones</td><td>George R. R. Martin</td><td>Fantasy</td><td>1000000</td></tr></table>'
      """
output:     filtered_books = [book for book in books if book[2] == genre]
      sorted_books = sorted(filtered_books, key=lambda x: int(x[3]), reverse=True)[:10]
      
      table = '<table><tr><th>Title</th><th>Author</th><th>Genre</th><th>Sales</th></tr>'
      for book in sorted_books:
          table += f'<tr><td>{book[0]}</td><td>{book[1]}</td><td>{book[2]}</td><td>{book[3]}</td></tr>'
      table += '</table>'
      
      return table