sort pins