First sort

This loop better to move inside sorter()