BASH – File test operators

(From man bash)

The test command sorts using ASCII ordering.