changed natural_sorting algorithm