Skip to content

Add natural (orderby) sort option #148

Closed
@khamkham

Description

@khamkham

Hi

Thanks for this great package!

Would it be possible to add a natural order sort to the query builder?
Perhaps as a third parameter within the orderBy method:

$users = User::orderBy('name', 'desc', 'natural')->get();

http://docs.mongodb.org/manual/reference/method/cursor.sort/#return-natural-order

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions