Fix XML attribute ordering in sample layout