consistent order of constructor args for indexes