Add a trivial isort function to sort a file inplace.