finish simple select sort