Table of Contents sort Parameters sort sort an array or object by alpha order. Parameters obj (Object | Array) an object or an array recursive Boolean if true, sorts all nested objs and arrays Returns (Object | Array)