Move and Sort in PDF
Hello All!
I am working on a project at work where I allow the user to assess some hazards to their location. The result is that the hazards are given a value and a qualitative ranking. I now need to be able to move those hazards to a ranking list, but have them sorted, highest to lowest, based on their output value.
For example:
| Hazard | Value | Qualitative Ranking |
|---|---|---|
Tornado | 50 | High |
| Hurricane | 45 | High |
| Earthquake | 38 | Mod. High |
| Terrorist | 25 | Med. Low |
| Flood | 11 | Low |
Before that they would be in order based on the user's initial input: Hurricane, Terrorist, Flood, Earthquake, Tornado.
My thoughts are this: The values of the hazards would be assessed, maybe into an array, then placed in highest to lowest order into the next page (where the ranking occurs), and then the corresponding hazard is found and moved to the hazard text field, next to the value text field.
If this isn't possible, then I will need to investigate other ways to potentially produce this output, as it is a necessity of this project.
I currently have this tool built in Excel, but it is very laggy, especially compared to the user-end of the current PDF tool.
Any help you can provide will be greatly appreciated!
Thanks,
Christopher Pounds
