Updating to preserve non-numeric data in sorted values