Skip to content

Only call Array.sort() if sort columns/keys are specified#88

Open
theodorejb wants to merge 2 commits intoalfajango:masterfrom
theodorejb:only-sort-when-needed
Open

Only call Array.sort() if sort columns/keys are specified#88
theodorejb wants to merge 2 commits intoalfajango:masterfrom
theodorejb:only-sort-when-needed

Conversation

@theodorejb
Copy link
Contributor

Fixes issue #87

@JangoSteve
Copy link
Member

Thanks for the pull request. Is this code fixing a specific issue or bug? If so, could you describe what's happening so we know how to test it?

@theodorejb
Copy link
Contributor Author

Yes, this fixes issue #87.

@JangoSteve
Copy link
Member

I'm thinking you might be seeing intended functionality unless I'm mistaken. The default sort function if no sorts are present, is to sort by the original sort order when the data was initialized:

See the originalPlacement sort function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants