optimizing device table, introduce sorting
update Changelog