updated ordering of classes on a day in api