I think you can just do .sorted