Add little functions for checking if a list is sorted without sorting it