block by Rich-Harris 5969002

Reindex an array by a common property

reindex.js