string and number sorting support