added sort for sqlite
sqlite test. make sure it unlinks temporary file
mongo sort routine working
added sort to mysql io