[SERVINF-134] Fix list output display order.

Turned out to be a simple fix (in two parts):
 * Don't order things during the SQL query.
 * Sort port names when writing tabs.