clean up code
fix sorting bug between upper and lower case tasks