Implemented sorting profiler