Description: Invert ratios of positive numbers and swap their ordering. (Contributed by Mario Carneiro, 28-May-2016)