Fix backend to reorder subjects.