sorting: more information in selection sort