sort expectations