Rails returns models in proper sort order