vendor update + debug build support
add data sorting function