BringToFront in RefEdit

I'm often need some entities bring to front / draw order in block (in refedit), but BricsCAD not "remember" that. So I'm make my own little script. It isn't no genial pieces of code, but for me is useful and I hope for someone else also.

Type B2F to run. Script is used at you own risk. ;)