Harriete and emiko sorting for future use r