sort_region--to sort a region

Source: Internet
Author: User
Tags first row
The operator sort_region sorts the regions with respect to their relative position. All sorting methods with the exception of ' character ' use one point of the region. With the help of the parameter Roworcol = ' Row ' These points'll be sorted according to their row and then according to T Heir column. By using ' column ', the column value would be used first. The following values is available for the parameter sortmode:

' Character '

The regions would be treated as characters in a row and would be sorted according to their order in the Line:if NS overlap horizontally, they'll be sorted with respect to their column values, otherwise they would be sorted with Regar D to their row values. To is able to sort a line correctly, all regions in the line must overlap each other vertically. Furthermore, the regions in adjacent rows must not overlap.

' First_point '

The point and the lowest column value in the first row of the region.

' Last_point '

The point and the highest column value in the last row of the region.

' Upper_left '

Upper left corner of the surrounding rectangle.

' Upper_right '

Upper right corner of the surrounding rectangle.

' Lower_left '

Lower left corner of the surrounding rectangle.

' Lower_right '

Lower right corner of the surrounding rectangle.

The parameter order determines whether the sorting order is increasing or decreasing:using ' true ' the order would be incre Asing, using ' false ', the order would be decreasing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.