serialize, fixed sort