nwztools: add NW-WM1A/Z model IDs

Also fix code that was supposed to sort things deterministically and was a
massive failure.

Change-Id: Iedf25f05a94ef51421710a283eb60f33ee977de1
5 files changed