Skip to content

feature: sort a worksheet#55

Open
brunoparga wants to merge 2 commits into
Voronchuk:masterfrom
brunoparga:sort
Open

feature: sort a worksheet#55
brunoparga wants to merge 2 commits into
Voronchuk:masterfrom
brunoparga:sort

Conversation

@brunoparga
Copy link
Copy Markdown

No description provided.

* `:dimension_index` - Column to sort by (default: 0)
* `:sort_order` - "ASCENDING" or "DESCENDING" (default: "ASCENDING")
"""
@spec sort!(pid, integer, keyword()) :: :ok | {:error, Exception.t()}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't see a reason to use bang in naming, as it returns normal error tuple, please rename to def sort

Copy link
Copy Markdown
Owner

@Voronchuk Voronchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tested it, but looks good. Please document it also in README.md

@brunoparga
Copy link
Copy Markdown
Author

I know it's been ages...

@brunoparga
Copy link
Copy Markdown
Author

Hi @Voronchuk. Any chance you could take a look at these changes?

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