Added order field to habit model.