I've accidentally discovered an easy solution to this problem. When running git diff command, you can specify a file for which you want to get statistics. So current solution can look like this:
Instead of running two commands, sorting files and trying to combine tables, run the second command for each file individually, get only signs from that command, and then combine results together.
Fix #123 resulted in long status signs which overflow to a new line. Something needs to be done with this.