Web application sorts measurements

The web application now sort the measurements after all of them are
collected.