ordering of related items was ignored

also development script for widgets had a typo, was using wrong styles in dev mode