Fixed problem so that sortHash uses the right UC fields. Changed constructor so that it's an object, so that I can add things