Save compares and swaps before doing selection sort.