debug removed, optimized code & added '&sort=(asc|desc)' functionality, will make it 'visible' in future