I have a Spark Dataset and I want to sort it by id column. I am able to sort it by using Dataset.sort("id") but I am looking for a typesafe solution. Thanks in advance