url: group slashed protocols by protocol name
authornettofarah <nettofarah@gmail.com>
Tue, 23 Feb 2016 07:47:22 +0000 (23:47 -0800)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 19:57:59 +0000 (12:57 -0700)
commitdff7091fce47b7686aa029fd5c2a49e884e9ea86
treeaa783bee8b272a261d545885f36a41fccb3b326a
parentb4fbe045149a927bbf5833efd53c907d0f886885
url: group slashed protocols by protocol name

Reorder slashed protocols so they are grouped by protocol name. This is
done so it doesn't look like we're duplicating protocol names at the
bottom of the list.

PR-URL: https://github.com/nodejs/node/pull/5380
Reviewed-By: Evan Lucas <evanlucas@me.com>
lib/url.js