Being a non parametric you do not need to determine any other information from the data as the sample mean. Let me give an illustration of ranking for a simple example using the Wilcoxon rank sum test which is very similar to the Mann Whitney test. You have two situations which you wish to compare for statistically significant difference in results , A and B. You repeat the experiment seven times.
View attachment 239609The largest difference (disregarding sign) is given the rank of the number of experiments i.e. 7 and the smallest difference (disregarding sign) is ranked one. Sum the negative valued numbers and compare to the sum of the positive numbers. Take the lower number of the two and go to the Table of the the statistic for that test. The table will have been computed for the number of pairs and for the confidence level. If the number is less than the number associated with a given confidence level for the given number pairs then the difference data is statistically significant at that level.
In the example the sum of the positive numbers is 8 and the sum of the negative ranks is 20 from the appropriate table the expected value at the 5% level for seven pairs is 2. Since the value above is 8 the data for the two situations is not significantly different at the 5% level. You might have suspected it anyway.by just looking at the data.
The rank sum tests are often used in comparing data that is more qualitative. For example compare two different implementations of a service using a questionnaire which uses the questions do you; strongly agree, agree, somewhat agree, neutral, somewhat, disagree, disagree, and strongly disagree. You would assign numerical values for these answers from 1 to 8.
Advantage of the rank sum tests is that the population distribution of the data does not need to be normal and the test is not sensitive to outliers.
As far as the uncertainties are concerned If they are larger than the separations of the measurements on average you can see a problems for the ranks and therefore the sums can be significantly different if you where to repeat the series of experiments. Your only job would be to assure this is not the case and forget about them in this test.