Revert "ArrayList doesn't allow you to sort its contents, but java.util.Collections class does"

This reverts commit dcde8083cc64711748255e46d1ceddc2ef184ffc.
Revert "Revert "ArrayList doesn't allow you to sort its contents, but java.util.Collections class does""

This reverts commit 1a6b9929732b007b3a05e9b134798906755ad9fa.