Sorting a list of locations by how for away they are: Part 2

In a previous codepen, we figured out where the user is and where five of the UW System campuses are. In this pen, we are showing how far they are away from the user (using the Haversine formula).

It looks like you are currently at:

{{location.adminArea5}}, {{location.adminArea3}} {{location.postalCode}}

Where the University of Wisconsin System campuses are at:

Name Address Distance Away
{{}} {{campus.address}} {{campus.distance}} km