Added sort in mongoid