added functionality to order entries of a model