Fixed student ordering and endnote problem.