core/local/sortandsquash: Extract steps to separate functions
core/local/sortandsquash: Extract steps to separate functions

cozy-labs/cozy-desktop,cozy-labs/cozy-desktop,nono/cozy-desktop,nono/cozy-desktop,nono/cozy-desktop,cozy-labs/cozy-desktop,cozy-labs/cozy-desktop,nono/cozy-desktop