Returns a copy of a JavaScript object with the keys arranged in a specified order. Useful for formatting JSON files.