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.