Sorting Arrays with JavaScript iterators

Learn how to use Symbol.iterator, one of the newest ES6 features, to create a custom iterator so that you can loop through your data in the correct order.