start adding tests for sortKeys