Sort widgets with postMessage