Added Collection::sort() for callbacktastic sorting goodness

Added a new sort method that lets people sort in an entirely custom way, and renamed the old sort() to sortBy() under instruction from Taylor.