Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

CADPower

Sort ASCII Files: CP_FILESORT – CADPower Command

Summary

The CP_FILESORT command in CADPower enables users to sort the contents of an ASCII file based on custom-defined criteria. Fully compatible with BricsCAD, AutoCAD, ZWCAD and ARES Commander, this tool is ideal for organizing text-based data such as lists, tables, or records stored in a plain text format.

CADPower -> Miscellaneous Tools -> Export -> Sort ASCII files

Sort ASCII Files: CP_FILESORT – CADPower Command

Key features include:

  1. Custom Sorting Options:
    • Sort by Field: Define the field number to sort data, using a specified delimiter (e.g., comma , or tab \t).
    • Sort by Column: Specify start and end column numbers for sorting based on character position.
  2. Sort Order and Type:
    • Numeric Sorting: Arrange values in ascending or descending numerical order.
    • Character Sorting: Organize data alphabetically or lexicographically.
    • Reverse Order: Flip the order of the sorting for customized output.
  3. File Input and Output:
    • Select an input ASCII file to process.
    • Define an output file to save the sorted content, or choose to overwrite the input file directly.
  4. Batch Data Management:
    • Process large data files quickly, making it suitable for log files, CSVs, or any tabular text data.
    • Update the original file with sorted data if desired.
  5. User-Friendly Interface:
    • A simple dialog box allows users to define sorting parameters intuitively, such as field numbers, delimiters, and column positions.

Applications:

  • Sort and organize CSV files, log files, or other tabular data for better readability and analysis.
  • Reformat exported data for compatibility with spreadsheets, databases, or reporting tools.
  • Rearrange data in text files for archiving or collaboration.

Benefits:

The CP_FILESORT command in CADPower enhances workflow efficiency by automating the sorting process for ASCII files. Whether you’re working in BricsCAD, AutoCAD, ZWCAD or ARES Commander, this tool ensures organized, accessible, and accurate data management.