remove _stable_sort
implement compile before callback
implement @callbacks memoization
implement run_callbacks with .compile
implement w3d4