I am trying to understand when does elements in a list swap during sorting process . So far my understanding is during comparison when we return -1 or 0 no swapping happens and when we return 1 swapping happens. Here is the code I am trying to understand when does elements in