started median sort