use faster sort algorithm