Allow sorting of User/Domain for testing.