shuffle & sort keys