PDI-11103 - Performance of Sort Rows step in 5.0

junit tests added
PDI-11103 - Performance of Sort Rows step in 5.0

refactor existing code, perfomance restored.
Merge pull request #325 from prakapenka/PDI-11103

PDI-11103 - Performance of Sort Rows step in 5.0