Void methods like below does not work with system.debug... why ?
List<String> myStrings = new List<String> { 'one', 'two','Three','four'};
mystring.sort();
system.debug ('----' + mystrings) // works
but.......
system.debug('------' + mystring.sort()); // does not work because method return the void....