Checks if List is Sorted