Fall back to string sort when numeric values are the same