added sorting methods to result tables
- sorting only works in ascending order, not descending