Sort names by number

Fixes bug #1369794: if machine names are numbers then sort them as numbers.
if (Y.Lang.isNumber(nameAsNumber)) {
  return nameAsNumber
}
return name

more self-descriptive? [shrug]