Same pages with varying extensions override alphabetically

A test for #1526