added more functions for check why stlport sort is fast