prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Provide "best" sort for front page (models.Front)
  The new "best" sort for the front page isn't currently available via PRAW. See [this Reddit thread](https://www.reddit.com/r/redditdev/comments/8h8ijn/how_do_you_sort_best_via_the_api/).
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `praw/models/front.py`
  Content:
  ```
  1 """Provide the Front class."""
  2 from .listing.mixins import SubredditListingMixin
  3 
  4 
  5 class Front(SubredditListingMixin):
  6     """Front is a Listing class that represents the front page."""
  7 
  8     def __init__(self, reddit):
  9         """Initialize a Front instance."""
  10         super(Front, self).__init__(reddit, None)
  11         self._path = '/'
  12
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/praw/models/front.py b/praw/models/front.py
  --- a/praw/models/front.py
  +++ b/praw/models/front.py
  @@ -1,4 +1,6 @@
   """Provide the Front class."""
  +from ..const import urljoin
  +from .listing.generator import ListingGenerator
   from .listing.mixins import SubredditListingMixin
   
   
  @@ -9,3 +11,13 @@
           """Initialize a Front instance."""
           super(Front, self).__init__(reddit, None)
           self._path = '/'
  +
  +    def best(self, **generator_kwargs):
  +        """Return a ListingGenerator for best items.
  +
  +        Additional keyword arguments are passed in the initialization of
  +        :class:`.ListingGenerator`.
  +
  +        """
  +        return ListingGenerator(self._reddit, urljoin(self._path, 'best'),
  +                                **generator_kwargs)
  
verification_info: {"golden_diff": "diff --git a/praw/models/front.py b/praw/models/front.py\n--- a/praw/models/front.py\n+++ b/praw/models/front.py\n@@ -1,4 +1,6 @@\n \"\"\"Provide the Front class.\"\"\"\n+from ..const import urljoin\n+from .listing.generator import ListingGenerator\n from .listing.mixins import SubredditListingMixin\n \n \n@@ -9,3 +11,13 @@\n         \"\"\"Initialize a Front instance.\"\"\"\n         super(Front, self).__init__(reddit, None)\n         self._path = '/'\n+\n+    def best(self, **generator_kwargs):\n+        \"\"\"Return a ListingGenerator for best items.\n+\n+        Additional keyword arguments are passed in the initialization of\n+        :class:`.ListingGenerator`.\n+\n+        \"\"\"\n+        return ListingGenerator(self._reddit, urljoin(self._path, 'best'),\n+                                **generator_kwargs)\n", "issue": "Provide \"best\" sort for front page (models.Front)\nThe new \"best\" sort for the front page isn't currently available via PRAW. See [this Reddit thread](https://www.reddit.com/r/redditdev/comments/8h8ijn/how_do_you_sort_best_via_the_api/).\n", "before_files": [{"content": "\"\"\"Provide the Front class.\"\"\"\nfrom .listing.mixins import SubredditListingMixin\n\n\nclass Front(SubredditListingMixin):\n    \"\"\"Front is a Listing class that represents the front page.\"\"\"\n\n    def __init__(self, reddit):\n        \"\"\"Initialize a Front instance.\"\"\"\n        super(Front, self).__init__(reddit, None)\n        self._path = '/'\n", "path": "praw/models/front.py"}], "after_files": [{"content": "\"\"\"Provide the Front class.\"\"\"\nfrom ..const import urljoin\nfrom .listing.generator import ListingGenerator\nfrom .listing.mixins import SubredditListingMixin\n\n\nclass Front(SubredditListingMixin):\n    \"\"\"Front is a Listing class that represents the front page.\"\"\"\n\n    def __init__(self, reddit):\n        \"\"\"Initialize a Front instance.\"\"\"\n        super(Front, self).__init__(reddit, None)\n        self._path = '/'\n\n    def best(self, **generator_kwargs):\n        \"\"\"Return a ListingGenerator for best items.\n\n        Additional keyword arguments are passed in the initialization of\n        :class:`.ListingGenerator`.\n\n        \"\"\"\n        return ListingGenerator(self._reddit, urljoin(self._path, 'best'),\n                                **generator_kwargs)\n", "path": "praw/models/front.py"}]}