fixed bug in sort algorithm where it could not sort more than 10 items.  added and activated an alternate sort algorithm