Use utils in selection sort