Method DB::getList.
Added default sorting - field 'sort'. Default sorting is on fields 'sort' or 'id'