Pass config.data as this in the other call sites
Use .sort() instead of .hint()
Move helper so it doesn't look like a workload
Fix incorrect use of 'this' inside anonymous function
Add rename script