halfway through sorting exercise