sort code, use folds