SourceFormatter - refactor in order to fix bug while sorting javaterms
Source formatting - Sort