First sort

You don't use this function. So why do we need it?