shorten line
watch for TypeError raised when the list is unsortable