Removed old code in apitest.lua.

This code was used for testing sorting tasks based on filename - later used in the html and json addons.