move sort helpers into separate file
support particles in name-part formatting