auto-spec generation now sorts keys to track changes better