Given the following array:
var things = ['sandwich', 17, '[email protected]', 3, 'horse', 'octothorpe', '[email protected]', '[email protected]'];
Sort the array into three others, one of numbers, one of strings, and one of valid email addresses. Discard the invalid address.