refactor createIndex function and create a sortIndex function that sorts the unique indexes The sortIndex function is used by createIndex to loop through the array of objects
refactor createIndex function and create a sortIndex function that sorts the unique indexes
The sortIndex function is used by createIndex to loop through the array of objects

andela-vnwaiwu/inverted-index,andela-vnwaiwu/inverted-index