added collection naming and fixed docs, added numerical sort tests
fixed collection name overwriting
fixed collection name overwriting
added a dump function