Display custom buttons in the order they were saved

https://bugzilla.redhat.com/show_bug.cgi?id=1134155