* Update the names to make ES5 and ES6 solutions more consistent
I basically change the names to make the function more explicit and clear:
1. list to sortedList
2. mid to middle
* Revert "Update the names to make ES5 and ES6 solutions more consistent"
This reverts commit 46d7514636420eb3b3c581665eaa3c0aca9df99d.
* [selection sort] update Js (ES5, ES6) to make them more consistent and explicit