There might be a discussion here about whether using async sort is appropriate. It's theoretically quicker, but it does make the code more complicated (and promises will use a little bit more memory)