How to efficiently sort a definite array or a database consisting of millions of variables has always puzzled me, given the countless ways to iterate through anything. So I thought it would be helpful to put together this cheatsheet both for myself and folks who have the same concern to…