Updated web tests, added sort to ContactRepository