Absolute sort Let's try some sorting. Here is an array with the specific rules. The array (a tuple) has various numbers. You should sort it, but sort it by absolute value in ascending order. For example, the sequence (-20, -5, 10, 15) will be sorted…