Sort the contents of a file by rules

Source: Internet
Author: User

The following content is in the Report.txt file: records the execution time of some methods, which are required to be sorted in descending order of execution time.

void Com.dustpan.zeus.core.service.MergeService.startService (int)
void Com.dustpan.zeus.core.service.InitShopDateService.startService (int) |
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |475
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |96
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |1013
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |184
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |729
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |14
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |394
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |90
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |569
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |796
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |1648
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |82
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |1018
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |14
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |937
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |17
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |601
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |52
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |5081
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |388
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |198
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |11
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |203
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |11
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |241
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |13
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |176
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |12
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |206
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |33
Boolean com.dustpan.zeus.core.service.MergeService.executeGePrintSyncTask () |242
Boolean com.dustpan.zeus.core.service.InitShopDateService.executeInitShopTask () |19

Sort the contents of a file by rules

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.