String sorting with proper placement of numeric values.