it's sorted by url ("domain name")... go figure...
and yes, the dropdown has lots of problems (prob. from asus' side)
however, WebHistory.db is a sqlite database, only had one table ("history"), can be easily read (sqlite3 command line interface, sql.js, etc) and then sorted/queried as you wish