sort by id connections
id DESC
order ASC users devices connecitons