added writeOrdered() method; added writeOrdered test --KW
version bump to 0.1.2 --KW