Fixing regression from 19e99b7a3714d6fc730088cde1e98d248751bb16/r345 that causes strinsort to fail for large inputs.  Seperated back apart the constants and shared functions into their respective files.  Future refactoring still needs to be done.