Debuggged sort of population (uneficient)