moveTop of ui.menu, Methods Webix Docs

moves the specified item to the first position

void moveTop(id id);

If you have not checked yet, be sure to visit site of our main product Webix ui library and page of javascript menu product.