natural sort algorithm for feature values