Using icanboogie/common sort_by_weight()