add sort to dbclient