Changes to return value

Is now a sorted array of objects containing a domain key