removed sort array prototype method from lib prototype