[modules] Working heap_sort with demos