Modified function manifest
Removed unused list
Corrected the sort order and test