Fix and simpler operation added

Fix in sort
New profileOperation with simpler computations.