Sorting for sockets!

Also, sockets within groups are now ordered for colour such that R>G>B.
If you wanted to search for an item with three blue sockets and one red
you could search "RBBB".