support order of keys and -k is not a required option anymore