Add default order by clause to device sqlite table

Devices are sorted default by names