User:Thespaceface/MetricFirst

Introduction
If imperial units are listed first, this script flips the words around to put metric first.

Examples
this script turns into (respectively)
 * 55 miles (89 km)
 * 500 feet (150 m)
 * 95 °F (35 °C)
 * 2.8 inches (71 mm)
 * 89 kilometres (55 mi)
 * 150 metres (500 ft)
 * 35 °C (95 °F)
 * 71 millimetres (2.8 in)

American Spelling Variant
There is an alternate version for this script that uses US Spelling standards (e.g., "Kilometer" vs. "Kilometre")

To Install that: importScript("User:Thespaceface/MetricFirstAmericanSpelling.js");

Source
see User:Thespaceface/MetricFirst.js and User:Thespaceface/MetricFirstAmericanSpelling.js