Added sorted weight field and advanced group