5.3-6 PERMUTE-BY-SORTING, if two or more priorities are identical
Problem5.3-6ExplainhowtoimplementthealgorithmPERMUTE-BY-SORTINGtohandlethecaseinwhichtwoormoreprioritiesareidentical.Thatis,youralgorithmshouldproduceauniformrandompermutation,eveniftwoormoreprioritie