fixed loading of sorting code to sketch