Maybe you could even import `sortKeys` into this, expose the function in there and just call that