add sort function for tree
complete sort function, update api printr
update luaprof.c code, use macro illoc replace function lloc
api printr function has arguments for display functions' count, 10 functions default