tristen/tablesort — pull request #35 by matstc (2014-02-16 12:04:41+00:00)
Title: We should look at more than the first element to decide on sort function

It's possible that the first row contain numbers but that the rows should still be sorted alphabetically. This PR looks at the first two and the last two rows before deciding on the sort function. Only if all 4 values agree will it choose the `sortNumber` or the `sortDate` function.