Allow API consumers to reorder applications in a collection (bug 894591)

r? @cvan @diox