SORT_NATURAL is 5.4+ only

- Added logic to detect if SORT_NATURAL is defined, and, if not, use
  SORT_STRING.