Fixed Auto-Tag's values sorting

Sorting values in SQL query is not necessary because the results will be reordered later in code. And using ksort with array that has numeric keys has no sense here.