Added methods: ExecuteHelper, NormalizeSort, WriteOutputFile, GetRawOutput